Position Difference when Scaling is Different. What should I have done? #4676
Replies: 1 comment 3 replies
-
Hi @yxpoh Could you post this again on our forum at https://forum.pymupdf.com , we are trying to move all discussions there! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I am trying to add text at position near a Signature section but based on scaling the position can get very off.
Scale is based on the following:
I could have understand if as the scale gets larger, 1.25 -> 1.5, the height points required is higher, but for some reason, it ended up as follows:

100%
125%

150%

The above is when the date_width = 119 and date_height = 760 are constant.
Currently, this is what I am using to hardcode based on the scaling.
But honestly, it's not the most dynamic way to do it.
So was wondering if there's better way to do this.
Beta Was this translation helpful? Give feedback.
All reactions