1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-10 08:59:45 +00:00
mpv/TOOLS/subfont-c/osd/gen_osd_h.c
arpi fd44bbee3d 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
2002-08-28 20:52:02 +00:00

16 lines
251 B
C

#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");
}