diff options
author | Glenn Adams <gadams@apache.org> | 2012-06-24 19:01:04 +0000 |
---|---|---|
committer | Glenn Adams <gadams@apache.org> | 2012-06-24 19:01:04 +0000 |
commit | f7c9ea74d2157769b664aee9fcd3f2d00bb32e05 (patch) | |
tree | fbe43a036a5217c6e5c9c7af7b693038dd48bb92 /src/java/org | |
parent | 6ebb1734ecae43bb804a59db72eb1a416a94afba (diff) | |
download | xmlgraphics-fop-f7c9ea74d2157769b664aee9fcd3f2d00bb32e05.tar.gz xmlgraphics-fop-f7c9ea74d2157769b664aee9fcd3f2d00bb32e05.zip |
Bugzilla #53431: Fix incorrect SVG line dash pattern with PDF output format. Submitted by Luis Bernardo.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1353311 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r-- | src/java/org/apache/fop/svg/PDFGraphics2D.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/svg/PDFGraphics2D.java b/src/java/org/apache/fop/svg/PDFGraphics2D.java index 67fc5d860..87c12d869 100644 --- a/src/java/org/apache/fop/svg/PDFGraphics2D.java +++ b/src/java/org/apache/fop/svg/PDFGraphics2D.java @@ -1201,6 +1201,8 @@ public class PDFGraphics2D extends AbstractGraphics2D implements NativeImageHand currentStream.write("] "); float offset = bs.getDashPhase(); currentStream.write(PDFNumber.doubleOut(offset) + " d\n"); + } else { + currentStream.write("[] 0 d\n"); } int ec = bs.getEndCap(); switch (ec) { |