New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BoundingBox and PageBoundingBox comments need to be adjusted for orientation and nup #2079
Comments
CUPS.org User: mike They should already be updated for N-up and fitplot modes... Will look into the landscape 1-up path... |
CUPS.org User: mike OK, the attached patch should take care of the PageBoundingBox issues for 1-up, non-scaled output. Let me know if you see any other problems... |
CUPS.org User: mike Re-opened since David reported that things are still not right... |
CUPS.org User: mike OK, the attached patch seems to produce the right numbers for orientation-requested=4 and 5 (+90 and -90, respectively). |
"str2079.patch": Index: pstops.c--- pstops.c (revision 6082)
|
"str2079p2.patch": Index: pstops.c--- pstops.c (revision 6244)
- break;
- temp_bbox[3] = bounding_box[2];
- temp_bbox[3] = PageLength - bounding_box[3];
- temp_bbox[3] = PageLength - bounding_box[0];
|
Version: 1.2-current
CUPS.org User: david.gelphman
When the pstops filter processes input PS data that contains %%BoundingBox and %%PageBoundingBox comments, it needs to adjust the input BBox comments for transformations that the filter applies, such as orientation changes (rotation) or n-up and/or application of borders.
The text was updated successfully, but these errors were encountered: