[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-cvs
Subject: svn commit: r520797 - in /xmlgraphics/fop/trunk:
From: jeremias () apache ! org
Date: 2007-03-21 8:13:22
Message-ID: 20070321081322.A35A21A983A () eris ! apache ! org
[Download RAW message or body]
Author: jeremias
Date: Wed Mar 21 01:13:21 2007
New Revision: 520797
URL: http://svn.apache.org/viewvc?view=rev&rev=520797
Log:
Fixed a problem with the auto-rotate-landscape setting in the PostScript renderer. It \
didn't generate the right setpagedevice command.
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSRenderer.java
xmlgraphics/fop/trunk/status.xml
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSRenderer.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSRenderer.java?view=diff&rev=520797&r1=520796&r2=520797
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSRenderer.java \
(original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSRenderer.java Wed Mar \
21 01:13:21 2007 @@ -953,15 +953,22 @@
}
if (rotate) {
+ gen.writeln("<<");
+ gen.writeln("/PageSize ["
+ + Math.round(pspageheight) + " "
+ + Math.round(pspagewidth) + "]");
+ gen.writeln("/ImagingBBox null");
+ gen.writeln(">> setpagedevice");
gen.writeln(Math.round(pspageheight) + " 0 translate");
gen.writeln("90 rotate");
+ } else {
+ gen.writeln("<<");
+ gen.writeln("/PageSize ["
+ + Math.round(pspagewidth) + " "
+ + Math.round(pspageheight) + "]");
+ gen.writeln("/ImagingBBox null");
+ gen.writeln(">> setpagedevice");
}
- gen.writeln("<<");
- gen.writeln("/PageSize ["
- + Math.round(pspagewidth) + " "
- + Math.round(pspageheight) + "]");
- gen.writeln("/ImagingBBox null");
- gen.writeln(">> setpagedevice");
concatMatrix(1, 0, 0, -1, 0, pageheight / 1000f);
gen.writeDSCComment(DSCConstants.END_PAGE_SETUP);
Modified: xmlgraphics/fop/trunk/status.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/status.xml?view=diff&rev=520797&r1=520796&r2=520797
==============================================================================
--- xmlgraphics/fop/trunk/status.xml (original)
+++ xmlgraphics/fop/trunk/status.xml Wed Mar 21 01:13:21 2007
@@ -29,6 +29,10 @@
<changes>
<release version="FOP Trunk">
<action context="Code" dev="JM" type="fix">
+ Fixed a problem with the auto-rotate-landscape setting in the PostScript \
renderer. + It didn't generate the right setpagedevice command.
+ </action>
+ <action context="Code" dev="JM" type="fix">
Fixed an IllegalArgumentException for absolutely positioned block-containers \
with a border and no height/bpd set.
</action>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic