From fd44bbee3de65f95bdd9e5108b17277f1cac3d59 Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 28 Aug 2002 20:52:02 +0000 Subject: freetype 2.0/2.1+ support - disabled by default until bugs fixed patch by Jindrich Makovicka git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7123 b3059339-0415-0410-9bf9-f77b7e298cf2 --- TOOLS/subfont-c/osd/gen_osd_h.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 TOOLS/subfont-c/osd/gen_osd_h.c (limited to 'TOOLS') 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 + +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"); +} -- cgit v1.2.3