1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-09 16:36:15 +00:00
mpv/TOOLS/subfont-c/osd/gen_osd_h.c
arpi cdca8fe565 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9109 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-26 16:32:43 +00:00

16 lines
252 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");
}