Skip to content

Conversation

@rototor
Copy link
Contributor

@rototor rototor commented May 13, 2020

Only use the scaling from the given transform

For whatever reason we only want the DPI scaling from the given transform, and
not any other property of the transform.

When adding a link to process later, the transform has at that moment also a translate in it.

Before 1ffd271 the used transform was after the last page was
processed. At that moment the transform only had a scale component and no translate.

rototor added 2 commits May 13, 2020 18:17
For whatever reason we only want the DPI scaling from the given transform, and
not any other property of the transform.

When adding a link to process later, the transform has at that moment also a translate in it.

Before 1ffd271 the used transform was after the last page was
processed. At that moment the transform only had a scale component and no translate.
rototor added 2 commits May 14, 2020 10:38
Yes, those classes are copies, so there is duplication. But before extending this method
I rather have it only in one place.
@danfickle
Copy link
Owner

Hi @rototor, sorry for breaking this. After merging this pr, I'll try to create a basic test in non visual regression test so I don't break it again.

Thanks again.

@danfickle danfickle merged commit 9034e37 into danfickle:open-dev-v1 May 16, 2020
danfickle added a commit that referenced this pull request May 18, 2020
As promised @rototor. Link shapes are working perfectly in Acrobat.
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