1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 02:45:43 +00:00
mpv/libvo/font_load.h
arpi 1ca2d5b055 .raw width>=65536 support by Georgi Georgiev <chutz@chubaka.homeip.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5929 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-02 01:56:28 +00:00

27 lines
560 B
C

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);