2001-03-25 06:28:40 +02:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
unsigned char *bmp;
|
|
|
|
unsigned char *pal;
|
|
|
|
int w,h,c;
|
|
|
|
} raw_file;
|
|
|
|
|
|
|
|
typedef struct {
|
2001-03-25 21:10:52 +02:00
|
|
|
char *name;
|
2001-07-20 02:01:09 +02:00
|
|
|
char *fpath;
|
2001-03-25 06:28:40 +02:00
|
|
|
int spacewidth;
|
|
|
|
int charspace;
|
|
|
|
int height;
|
|
|
|
// char *fname_a;
|
|
|
|
// char *fname_b;
|
|
|
|
raw_file* pic_a[16];
|
|
|
|
raw_file* pic_b[16];
|
2001-05-06 04:26:17 +02:00
|
|
|
short font[65536];
|
2002-05-02 03:56:28 +02:00
|
|
|
int start[65536]; // short is not enough for unicode fonts
|
2001-05-06 04:26:17 +02:00
|
|
|
short width[65536];
|
2001-03-25 06:28:40 +02:00
|
|
|
} font_desc_t;
|
|
|
|
|
2002-03-24 01:32:13 +01:00
|
|
|
extern font_desc_t* vo_font;
|
|
|
|
|
2001-04-11 02:47:05 +02:00
|
|
|
raw_file* load_raw(char *name,int verbose);
|
|
|
|
font_desc_t* read_font_desc(char* fname,float factor,int verbose);
|