1 #ifndef _FONT_LOAD_H_ 2 #define _FONT_LOAD_H_ 3 4 typedef struct 5 { 6 unsigned char *bmp; 7 unsigned char *pal; 8 int w, h, c; 9 } raw_file; 10 11 12 typedef struct 13 { 14 char *name; 15 char *fpath; 16 int spacewidth; 17 int charspace; 18 int height; 19 //char *fname_a; 20 //char *fname_b; 21 raw_file* pic_a[16]; 22 raw_file* pic_b[16]; 23 short font[65536]; 24 short start[65536]; 25 short width[65536]; 26 double outline_thickness; 27 double blur_radius; 28 } font_desc_t; 29 30 raw_file* load_raw(char *name,int verbose); 31 font_desc_t* read_font_desc(char* fname,float factor,int verbose); 32 33 #endif /* _FONT_LOAD_H_ */ 34