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 (from parent 1:
8c45842
)
Check the --ignore option in the "cloud bug" workaround.
author
kramm
<kramm>
Fri, 15 Mar 2002 20:39:21 +0000
(20:39 +0000)
committer
kramm
<kramm>
Fri, 15 Mar 2002 20:39:21 +0000
(20:39 +0000)
pdf2swf/swfoutput.cc
patch
|
blob
|
history
diff --git
a/pdf2swf/swfoutput.cc
b/pdf2swf/swfoutput.cc
index
edb13a3
..
5d4493f
100644
(file)
--- a/
pdf2swf/swfoutput.cc
+++ b/
pdf2swf/swfoutput.cc
@@
-489,10
+489,10
@@
void swfoutput_drawpath(swfoutput*output, T1_OUTLINE*outline,
if(textid>=0)
endtext();
if(textid>=0)
endtext();
- /* XXX the following is needed due to a bug in the SWF player.
- Filled shapes consisting solely of curves don't get
- filled correctly if they are in the same shape */
- if(shapeid>=0 && fill) {
+ /* Multiple polygons in one shape don't overlap correctly,
+ so we better start a new shape here if the polygon is filled
+ */
+ if(shapeid>=0 && fill && !ignoredraworder) {
endshape();
}
endshape();
}