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:
25efc6d
)
fixed drawonlyshapes implementation
author
kramm
<kramm>
Wed, 12 Nov 2008 10:31:51 +0000
(10:31 +0000)
committer
kramm
<kramm>
Wed, 12 Nov 2008 10:31:51 +0000
(10:31 +0000)
lib/devices/swf.c
patch
|
blob
|
history
diff --git
a/lib/devices/swf.c
b/lib/devices/swf.c
index
4d8bbea
..
1f34c1b
100644
(file)
--- a/
lib/devices/swf.c
+++ b/
lib/devices/swf.c
@@
-2844,11
+2844,10
@@
static void swf_drawchar(gfxdevice_t*dev, gfxfont_t*font, int glyph, gfxcolor_t*
}
if(i->config_drawonlyshapes) {
- gfxglyph_t*glyph = &font->glyphs[glyphnr];
- gfxline_t*line2 = gfxline_clone(glyph->line);
+ gfxglyph_t*g = &font->glyphs[glyph];
+ gfxline_t*line2 = gfxline_clone(g->line);
gfxline_transform(line2, matrix);
- draw_line(dev, line2);
- fill_solid(dev, color);
+ dev->fill(dev, line2, color);
gfxline_free(line2);
return;
}