Skip to content

Commit afc3d5c

Browse files
author
Bas-Jan 't Jong
committed
Minor fix. If conversion factor from pointToPixel is 1.333333, then the
conversion factor for PixelTopoint should be 0.75
1 parent 9567c6a commit afc3d5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpWord/Shared/Drawing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public static function emuToPixels($value = 0)
5656
*/
5757
public static function pixelsToPoints($value = 0)
5858
{
59-
return $value * 0.67777777;
59+
return $value * 0.75;
6060
}
6161

6262
/**

0 commit comments

Comments
 (0)