mirror of
https://github.com/mpv-player/mpv
synced 2025-01-10 08:59:45 +00:00
fd44bbee3d
patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7123 b3059339-0415-0410-9bf9-f77b7e298cf2
16 lines
251 B
C
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");
|
|
}
|