diff options
-rw-r--r-- | src/java/org/apache/fop/svg/PDFGraphics2D.java | 4 | ||||
-rw-r--r-- | status.xml | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/svg/PDFGraphics2D.java b/src/java/org/apache/fop/svg/PDFGraphics2D.java index ef81180ce..67fc5d860 100644 --- a/src/java/org/apache/fop/svg/PDFGraphics2D.java +++ b/src/java/org/apache/fop/svg/PDFGraphics2D.java @@ -1171,8 +1171,8 @@ public class PDFGraphics2D extends AbstractGraphics2D implements NativeImageHand currentStream.write("q\n"); writeClip(shape); - currentStream.write("" + usrW + " 0 0 " + (-usrH) + " " + usrX - + " " + (usrY + usrH) + " cm\n" + currentStream.write("" + PDFNumber.doubleOut(usrW) + " 0 0 " + PDFNumber.doubleOut(-usrH) + " " + + PDFNumber.doubleOut(usrX) + " " + PDFNumber.doubleOut(usrY + usrH) + " cm\n" + imageInfo.getName() + " Do\nQ\n"); return true; } diff --git a/status.xml b/status.xml index 07c6b1ab9..0b3e429d9 100644 --- a/status.xml +++ b/status.xml @@ -63,6 +63,9 @@ documents. Example: the fix of marks layering will be such a case when it's done. --> <release version="FOP Trunk" date="TBD"> + <action context="Renderers" dev="GA" type="fix" fixes-bug="40699" due-to="Luis Bernardo"> + Fix for invalid PDF for certain numerical values in SVG lineargradient. + </action> <action context="Layout" dev="GA" type="fix" fixes-bug="53185" due-to="Robert Meyer"> Unify date formatting between FOP and XGC as well as tidying the date format code. </action> |