git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a2d628
)
fix: wide-codes in AddGlyph(...)
author
boehme
<boehme>
Tue, 28 May 2002 23:09:17 +0000
(23:09 +0000)
committer
boehme
<boehme>
Tue, 28 May 2002 23:09:17 +0000
(23:09 +0000)
lib/example/dumpfont.c
patch
|
blob
|
history
diff --git
a/lib/example/dumpfont.c
b/lib/example/dumpfont.c
index
b8f7520
..
09985fa
100644
(file)
--- a/
lib/example/dumpfont.c
+++ b/
lib/example/dumpfont.c
@@
-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]));
}