Skip to content
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

Fix Drawing pixelsToPoints and twipsToPixels ratios #36

Closed
wants to merge 2 commits into from
Closed

Fix Drawing pixelsToPoints and twipsToPixels ratios #36

wants to merge 2 commits into from

Conversation

guilliamxavier
Copy link

For pixelsToPoints ("0.67777777", "1.333333333" and 0.75): Refs PHPOffice/PhpSpreadsheet#1733
For twipsToPixels: 20 * 72/96 = 15, not "15.873984"

@Progi1984
Copy link
Member

Progi1984 commented Jul 20, 2021

@guilliamxavier Hi, thank you for your contribution. Could you rebase your PR for fixing conflicting files ? or can I integrate your modifications in another PR ?

@guilliamxavier
Copy link
Author

or can I integrate your modifications in another PR ?

Yes, feel free to do so; and I see that the files have since been copied in PHPOffice/PHPWord#1996 (with the bugs) so will need to be fixed there too

@guilliamxavier guilliamxavier deleted the patch-1 branch July 20, 2021 12:42
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