annotate libvo/font_load.h @ 2988:a1860b3a33c9

more debugging in configure.log [temporary] (calls ldd to debug dependencies for [future] static support) $_ld_x11 contains now $_ld_sock improved x11 C test libGL is no longer OS dependent (bsd) but depends on 2 compil' tests preliminary support for -static: -static requires any test succeeds with that flag missing -logg for vorbis (triggered by -static) NB: It still can't compile in static [undefined reference to... errors :/ ]
author pl
date Mon, 19 Nov 2001 00:38:41 +0000
parents c3e3b0ae4d06
children 4e64fca268e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
213
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
1
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
2 typedef struct {
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
3 unsigned char *bmp;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
4 unsigned char *pal;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
5 int w,h,c;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
6 } raw_file;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
7
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
8 typedef struct {
214
09d0f437b817 desc fileformat changes
arpi_esp
parents: 213
diff changeset
9 char *name;
1353
c3e3b0ae4d06 Applied DATADIR patch by Vladimir Kushnir
arpi
parents: 706
diff changeset
10 char *fpath;
213
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
11 int spacewidth;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
12 int charspace;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
13 int height;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
14 // char *fname_a;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
15 // char *fname_b;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
16 raw_file* pic_a[16];
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
17 raw_file* pic_b[16];
706
8a7666a78f83 better .smi support and display two-byte characters- patch by Sunjin Yang
arpi_esp
parents: 339
diff changeset
18 short font[65536];
8a7666a78f83 better .smi support and display two-byte characters- patch by Sunjin Yang
arpi_esp
parents: 339
diff changeset
19 short start[65536];
8a7666a78f83 better .smi support and display two-byte characters- patch by Sunjin Yang
arpi_esp
parents: 339
diff changeset
20 short width[65536];
213
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
21 } font_desc_t;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
22
339
e7e89cd4169f printf's only if verbose>1
arpi_esp
parents: 215
diff changeset
23 raw_file* load_raw(char *name,int verbose);
e7e89cd4169f printf's only if verbose>1
arpi_esp
parents: 215
diff changeset
24 font_desc_t* read_font_desc(char* fname,float factor,int verbose);