![](https://secure.gravatar.com/avatar/7d19e6b2520f265ddf2121b2c29cc0d9.jpg?s=120&d=mm&r=g)
Bugs item #939, was opened at 2008-04-19 23:42 Status: Open Priority: 3 Submitted By: Hartmut Henkel (hhenkel) Assigned to: Nobody (None) Summary: \pdfximagebbox wrong for PDF files with /Rotate != 0 Resolution: None Group: v1.50.0-alpha Category: PDF inclusion Initial Comment: The primitive \pdfximagebbox gives a wrong boundingbox info for PDF files that contain a /Rotate key with value 90 or 270 [degrees]. Reason is that in pdftoepdf.cc the values epdf_height and epdf_width are swapped in 90 and 270 degree cases (but the epdf_orig_x and epdf_orig_y are not swapped, which makes it even more inconsistent). The proposal is that \pdfximagebbox should always deliver the unchanged original values for the actually used boundingbox (e. g. "artbox", "cropbox"...), as read from the appropriate /...Box[] array in the embedded PDF file. The epdf_height and epdf_width values should _not_ be swapped for \pdfximagebbox. ---------------------------------------------------------------------- You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=939&group_id=106