From: Matthias Kramm Date: Sat, 28 Nov 2009 21:01:48 +0000 (-0800) Subject: undo previous change X-Git-Tag: version-0-9-1~229 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=daf5378d1edb818b1f9afae973cd16a13272a127 undo previous change --- 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? */