Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Importing SVG file not specifying a size
#4
Technically, it's not a valid SVG. It lacks an opening <?xml...> header, that also indicates which SVG version is meant (because the SVG format is in XML, so the whole SVG file should be conformant XML).

This said, as far as I can tell, 2.10.12 opens all the files at 500x500 by default and this could be a bug. The size is detected correctly on 2.8, but the SVG is not rendered correctly.

You can load the file in 2.10 by forcing the right size: round off the numbers for width and height that you find in the first line
Code:
<svg id="Cube" xmlns="http://www.w3.org/2000/svg" width="3278.795" height="799.984" viewBox="0 0 3451 842">

ie, 3279x800. You will have to unlink the X & Y ratios.

Indeed a bug, should be fixed in 2.10.14: https://gitlab.gnome.org/GNOME/gimp/issues/2561
Reply


Messages In This Thread
RE: Importing SVG file not specifying a size - by Ofnuts - 10-22-2019, 10:47 PM

Forum Jump: