DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25882>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25882

PS-Renderer doesn't generate pages in landscape orientation

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



------- Additional Comments From [EMAIL PROTECTED]  2004-01-04 17:39 -------
Either you can try the AutoRotate functionality of the PSRenderer (see link 
below) or you can hack in a few lines in PSRenderer.java just before the 
following line in renderPage():

        writeln("0.001 0.001 scale");

The lines to insert are: 

        writeln("<<");
        writeln("/PageSize [" + Math.round(pspagewidth) + " " + Math.round
(pspageheight) + "]");
        writeln("/ImagingBBox null");
        writeln(">> setpagedevice");

Note: this is only roughly tested and is probably incorrect when AutoRotate is 
used together with this hack but it should work in your case. Remember to 
rebuild FOP after that.

The reason for this is the missing PageSize. Distiller doesn't interpret DSC 
comments where this information is provided already.

AutoRotate functionality:
http://marc.theaimsgroup.com/?l=fop-dev&m=105059583307703&w=2

(keeping this bug open as a reminder and a note to myself: HEAD's PSRenderer 
is also missing this, but the Transcoder has is already.)

Reply via email to