diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-28 20:52:02 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-28 20:52:02 +0000 |
commit | fd44bbee3de65f95bdd9e5108b17277f1cac3d59 (patch) | |
tree | 4652fa878c4ee165fbea28d8d59abdcb3cfbabdc /TOOLS/subfont-c/osd | |
parent | 5e59ee334476b6fa1b557cb87d1dca8be24e02c3 (diff) |
freetype 2.0/2.1+ support - disabled by default until bugs fixed
patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7123 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS/subfont-c/osd')
-rw-r--r-- | TOOLS/subfont-c/osd/gen_osd_h.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/TOOLS/subfont-c/osd/gen_osd_h.c b/TOOLS/subfont-c/osd/gen_osd_h.c new file mode 100644 index 0000000000..ad59c7ef99 --- /dev/null +++ b/TOOLS/subfont-c/osd/gen_osd_h.c @@ -0,0 +1,15 @@ +#include <stdio.h> + +int main() +{ + int c; + int cnt; + printf("unsigned char *osd_font_pfb = {"); + for (cnt = 0;;cnt++) { + if (cnt % 16 == 0) printf("\n"); + c = getchar(); + if (c < 0) break; + printf("0x%02x,", c); + } + printf("};\n"); +} |