diff libvo/font_load.h @ 213:6ec8f6ab6cb1

subtitle+OSD font support
author arpi_esp
date Sun, 25 Mar 2001 04:28:40 +0000
parents
children 09d0f437b817
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libvo/font_load.h	Sun Mar 25 04:28:40 2001 +0000
@@ -0,0 +1,22 @@
+
+typedef struct {
+    unsigned char *bmp;
+    unsigned char *pal;
+    int w,h,c;
+} raw_file;
+
+typedef struct {
+    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);