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:
cde153b
)
undo previous change
author
Matthias Kramm
<kramm@quiss.org>
Sat, 28 Nov 2009 21:01:48 +0000
(13:01 -0800)
committer
Matthias Kramm
<kramm@quiss.org>
Sat, 28 Nov 2009 21:01:48 +0000
(13:01 -0800)
lib/modules/swftext.c
patch
|
blob
|
history
diff --git
a/lib/modules/swftext.c
b/lib/modules/swftext.c
index
1bb40d9
..
cb2624e
100644
(file)
--- 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;
return;
int t;
- int firstpair=1;
for(t=0;t<nr;t++) {
int x=xpos[t];
int y=ystart;
for(t=0;t<nr;t++) {
int x=xpos[t];
int y=ystart;
@@
-553,12
+552,7
@@
static void updateusage(void *self, int *chars, int *xpos, int nr,
u->last!=c && !swf_ShapeIsEmpty(u->font->glyph[u->last].shape) &&
!swf_ShapeIsEmpty(u->font->glyph[c].shape))
{
u->last!=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? */
}
u->lasty = y;
/* FIXME: do we still need to divide advance by 20 for definefont3? */