Jules
June 8, 2019, 1:52pm
40
Yep. That’s exactly what caused it.
This is the file opened directly into the GFUI, without taking it into any other programs for modification first. It loads at the correct size.
This is the same file after opening it and resaving it in Inkscape. It was resized when it was opened in Inkscape. (That’s because AI exports natively at 72 DPI and Inkscape imports assuming it was 96 DPI.)
Yes, but if you are trying to modify a file that someone else is providing, you don’t always have that option. It just helps to understand what’s going on, and the next time you can adjust for it.
More explanation of the phenomenon below if you want to read it:
I’m not sure what your solution is going to be, but I think I can explain the problem…
Shapes in SVG are usually specified using unit-less coordinates. As has been mention already, different programs use different default sizes for these coordinates such as 1/72, 1/90, and 1/92 inch.
In order to set an actual size based on real-world units SVG uses a combination of the viewBox, width, and height attributes you’ll usually see near the top of the file.
The viewBox specifies four numbers which d…
I did find a possible clue when I tried to open the Fusion Hole.svg file in my version of Inkscape (v0.92.1 r15371).
I got this message when the file opened:
: [image]
If you ignore the message, the file opens with an incorrectly sized result:
[Fusion%20Hole%20Test%20-%20Ignore]
But if you choose either Set Viewbox, or Scale Elements in the popup when you open the SVG file, the sizing displays correctly in the Inkscape display:
[Fusion%20-Set%20Viewbox%20on%20opening]
And the results of…
You have something very wonky going on with the units in your SVG file. It’s simply a corrupted file.
Any time I try to change the display units, it keeps reverting back to pixels. Normally in Inkscape, say if you set display units to inches, you will see the numbers in the SCALE box automatically update to 25.400 because by default Inkscape likes to work in mm. This file however does not update the scale like that, and changing the units from pixels is futile. The changes just won’t stick like…
2 Likes