fix: wide-codes in AddGlyph(...)
authorboehme <boehme>
Tue, 28 May 2002 23:09:17 +0000 (23:09 +0000)
committerboehme <boehme>
Tue, 28 May 2002 23:09:17 +0000 (23:09 +0000)
lib/example/dumpfont.c

index b8f7520..09985fa 100644 (file)
@@ -83,7 +83,7 @@ void DumpFont(SWFFONT * f,char * name)
 
   for (i=0;i<f->numchars;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]));
     }