1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 19:05:33 +00:00
mpv/libvo/font_load.h
arpi_esp 14528e299a font alpha resampling, see -ffactor
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@216 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-25 20:38:14 +00:00

24 lines
442 B
C

typedef struct {
unsigned char *bmp;
unsigned char *pal;
int w,h,c;
} raw_file;
typedef struct {
char *name;
int spacewidth;
int charspace;
int height;
// char *fname_a;
// char *fname_b;
raw_file* pic_a[16];
raw_file* pic_b[16];
short font[512];
short start[512];
short width[512];
} font_desc_t;
raw_file* load_raw(char *name);
font_desc_t* read_font_desc(char* fname,float factor);