[cups.bugs] [MOD] STR #2348: PDF rotation issue

H. Blischke h.blischke at srz-berlin.de
Wed Apr 18 07:45:00 PDT 2007


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Looking into the PDFs and into the PS files generated by xpdf's pstops (ver
3.02) reveals the following:

(1) strollingmap:
    The PDF defines 
    /MediaBox [842 595] /Rotate 0
    (values rounded) which means a physical landscape page
    ("A4 transverse") and a portrait orientation, i.e. the 
    page needs not to be rotated for correct viewing.
    The generated PS file contains the correct bounding box and
    tells 
    %%PageOrientation: portrait
    which is correct.
    But something is weird with this PDF: displaying the PDF and the
    generated PS with Ghostscript shows different views; in the
    PS file the map displays rotated and scaled down to fit on the
    page. 
    I guess the misbehaviour of this PDF is due to a bug in the 
    creator application (illustrator 10). Opening the PDF with 
    Illustrator 11 and saving as PDF seems to be correct.

(2) dayplanner
    The PDF contains
    /MediaBox [595 842] /Rotate 270
    which means a physical portrait media and landscape orientation,
    i.e. the page needs to be rotated for correct viewing.
    The corresponding PS file contains the correct bounding box and 
    page size and 
    %%PageOrientation: landscape
    All this seems correct.

In general, there seeme so be some serious misinterpretation on
what to do with pages (media sizes) the width of which is greater
than the heigt.

Link: http://www.cups.org/str.php?L2348
Version: 1.2.10





More information about the cups mailing list