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=5654>. 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=5654 PS rendering doesn't seem to support landscape pages ------- Additional Comments From [EMAIL PROTECTED] 2003-03-24 17:03 ------- Updated patch... forgot to flip the height/width properties: write("%%Page: " + page.getNumber() + " " + page.getNumber()); if (page.getHeight() > page.getWidth()) { // Assume Portrait mode and do nothing (relying on the defaults) write("%%PageBoundingBox: 0 0 " + Math.round(page.getWidth() / 1000f) + " " + Math.round(page.getHeight() / 1000f)); } else { write("/pgSave save def"); write("0 0.0 translate 1 -1 scale[72 300 div 0 0 72 300 div 0 0]concat"); write("1 -1 scale"); write("gsave"); write("[0.0 -4.166666666666667 4.166666666666667 0.0 0.0 3300.0000000000005] concat"); write("newpath"); write("%%PageBoundingBox: 0 0 " + Math.round(page.getHeight() / 1000f) + " " + Math.round(page.getWidth() / 1000f)); } write("%%BeginPageSetup"); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]