X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fdevices%2Fswf.c;fp=lib%2Fdevices%2Fswf.c;h=3277938986b2776fc73a65e68e01d36ff5936103;hp=121d49ce166763f2756e1e93181ad007a7d44d21;hb=4e514da68a127743aaa789f00145037f04179306;hpb=7c3e2529e63ade24a3878a86569e771721379dd3 diff --git a/lib/devices/swf.c b/lib/devices/swf.c index 121d49c..3277938 100644 --- a/lib/devices/swf.c +++ b/lib/devices/swf.c @@ -3117,6 +3117,6 @@ static void swf_drawchar(gfxdevice_t*dev, gfxfont_t*font, int glyph, gfxcolor_t* } else { i->chardata = charbuffer_append(i->chardata, i->swffont, glyph, x, y, i->current_font_size, *(RGBA*)color, &i->fontmatrix); } - swf_FontUseGlyph(i->swffont, glyph); + swf_FontUseGlyph(i->swffont, glyph, i->current_font_size); return; }