Skip to content

Conversation

@yufeih
Copy link
Contributor

@yufeih yufeih commented Oct 28, 2023

The /XYZ destination needs a zoom value for PDF readers to parse correctly. This PR fixes destination linking problem by adding a NULL zoom value.

Per PDF spec:

[page /XYZ left top zoom] Display the page designated by page, with the coordinates (left, top) positioned at the top-left corner of the window and the contents of the page magnified by the factor zoom. A null value for any of the parameters left, top, or
zoom specifies that the current value of that parameter is to be retained unchanged. A zoom value of 0 has the same meaning as a null value.

#9352

@BobLd BobLd merged commit 17d50f0 into UglyToad:master Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants