I am currently using Vectornator Version 4.8.2 (36827) on a MacBook Air (M1, 2020) running OS Monterey.
I’ve created a svg consisting of a single square tile that sits inside a group with a scale transform of 0.48.
The tile is 100 pixels by 100 pixels.
At the usual 96 pixels per inch this means a transform of 0.48 will render this tile at 1/2 inch by 1/2 inch.
<svg viewBox="0 0 0.5in 0.5in" width="0.5in" height="0.5in" xmlns="http://www.w3.org/2000/svg"> <g id="mosaic" transform="scale(0.48, 0.48)"> <path d="M0,0 L100,0 L100,100 L0,100 L0,0 z" fill="rgb(0,0,0)" stroke="rgb(0,255,0)" stroke-width="0"/> </g> </svg>
When I view this file with Inkscape it displays correctly as 48px by 48px
When I change the Inkscape display units to inches it displays correctly as 0.500in by 0.500in
Loading this same file into Vectornator shows the same value “48” for View Units as Pixels AND View Units as Points.
This is incorrect. The value for Points should be 36 and not 48.
Points (pt): A point is a unit of measurement traditionally used in typography and print design, where 1 point is equal to 1/72 of an inch.
Changing the Vectornator display unit to inches shows the size at 0.67" which is incorrect.
This should display as 0.5 inch by 0.5 inch
Depending on whether you’re doing your transformation with pixels or points it is either
48 * 1/96 px per inch = 0.5 inches
36 * 1/72 pts per inch = 0.5 inches
In summary. In Vectornator the Pixel value is read correctly. The corresponding Vectornator point value is incorrect. It should be 36 and not 48. This is resulting in the wrong value when viewing the 1/2 inch tile using inch units.