X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswftext.c;fp=lib%2Fmodules%2Fswftext.c;h=cb2624ed1f8560c0f4a94ee82c3e78c8f4617e96;hb=daf5378d1edb818b1f9afae973cd16a13272a127;hp=1bb40d9db1fc1ddd6f19ba4fc9f64010f60ebb87;hpb=cde153b0547e260367cc82ea7563ff8689cb61d8;p=swftools.git diff --git a/lib/modules/swftext.c b/lib/modules/swftext.c index 1bb40d9..cb2624e 100644 --- a/lib/modules/swftext.c +++ b/lib/modules/swftext.c @@ -541,7 +541,6 @@ static void updateusage(void *self, int *chars, int *xpos, int nr, return; int t; - int firstpair=1; for(t=0;tlast!=c && !swf_ShapeIsEmpty(u->font->glyph[u->last].shape) && !swf_ShapeIsEmpty(u->font->glyph[c].shape)) { - /* ignore the first pair of every word (caps subset hack). */ - if(!firstpair) - swf_FontUsePair(u->font, u->last, c); - firstpair = 0; - } else { - firstpair = 1; + swf_FontUsePair(u->font, u->last, c); } u->lasty = y; /* FIXME: do we still need to divide advance by 20 for definefont3? */