Mercurial > mplayer.hg
view libvo/font_load.h @ 7026:a3126e9099b4
should solve -vo vesa:vidix problem 'vosub_vidix: video server has
unsupported color depth by vidix (0)' - patch by Emiel Neggers <emiel@neggers.net>
author | arpi |
---|---|
date | Fri, 16 Aug 2002 22:25:45 +0000 |
parents | 48e91dc9534b |
children | 0dc9cb756b68 |
line wrap: on
line source
typedef struct { unsigned char *bmp; unsigned char *pal; int w,h,c; } raw_file; typedef struct { char *name; char *fpath; int spacewidth; int charspace; int height; // char *fname_a; // char *fname_b; raw_file* pic_a[16]; raw_file* pic_b[16]; short font[65536]; int start[65536]; // short is not enough for unicode fonts short width[65536]; } font_desc_t; extern font_desc_t* vo_font; raw_file* load_raw(char *name,int verbose); font_desc_t* read_font_desc(char* fname,float factor,int verbose);