}
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);
<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.