view TOOLS/subfont-c/osd/gen_osd_h.c @ 13445:99c8269b1f12

Rroff markup fixes and point out a 10l.
author diego
date Thu, 23 Sep 2004 10:43:32 +0000
parents 9a754317898e
children
line wrap: on
line source

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