Handle out-of-range coordinates from an XYZ named destination.
The in-page coordinates from an XYZ named destination sometimes can be out of the range of the PDF's page width and height. This CL preprocesses such out-of-range x and y coordinates before converting them from in-page coordinates to in-screen coordinates. Bug: 1157061 Change-Id: I3279890459188e3856c75478caebefa6bafaa655 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2633191 Commit-Queue: Hui Yingst <nigi@chromium.org> Reviewed-by:dsinclair <dsinclair@chromium.org> Cr-Commit-Position: refs/heads/master@{#846253}
Showing
Please register or sign in to comment