X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fexample%2Fdumpfont.c;h=02e109b32b5bf53e3a30cba34622e8c73920da84;hb=d4af216aee2d07affc044ef8a9f7fb4c408c44cd;hp=b8f7520081411615b50866ede5f1d9bfd44aa2e6;hpb=33b4efceb35f7582426665aba920fd950edc0602;p=swftools.git diff --git a/lib/example/dumpfont.c b/lib/example/dumpfont.c index b8f7520..02e109b 100644 --- a/lib/example/dumpfont.c +++ b/lib/example/dumpfont.c @@ -9,8 +9,6 @@ external files. Usage: ./dumpfont filename.swf > myfont.c - - Limits: does not parse ST_DEFINEFONT2 Part of the swftools package. @@ -83,7 +81,7 @@ void DumpFont(SWFFONT * f,char * name) for (i=0;inumchars;i++) if (f->glyph[i].shape) - { printf(" addGlyph(f,%3i, 0x%02x,%4i, &Glyphs_%s[0x%04x],%4i); // %c\n", + { printf(" addGlyph(f,%3i, 0x%03x,%4i, &Glyphs_%s[0x%04x],%4i); // %c\n", i, f->glyph2ascii[i], f->glyph[i].advance, name, gpos[i], f->glyph[i].shape->bitlen,PRINTABLE(f->glyph2ascii[i])); }