Gradients with pixels created by Inkscape are not rendered in major SVG renders (which prefer percentages)

Bug #1604276 reported by rugk
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Gradients in Inkscape use pixels and these do not seem to be rendered correctly in other mayor SVG software (such as Firefox, Chromium and Ubuntus SVG preview).

For all details including example files see this:
* https://github.com/PrivateBin/assets/issues/3
* https://graphicdesign.stackexchange.com/questions/74897/gradient-rendered-differently-in-inkscape-png-export-and-browser

It can be manually fixed [like this](https://github.com/PrivateBin/assets/commit/6e04defdb826e67905b05e6fc0e3c755386945dc), but when the file is opened again in Inkscape afterwards and one only moves the object around a bit, it converts the percentage values to pixels again.

If I am missing something and you can force Inkscape to use percentages here, please let me know.

Inkscape version used: 0.84.4 and 0.91 for the first creation of the SVG file.

Tags: gradient svg
Revision history for this message
Scholli2000 (die-scholl) wrote :

I have got the same problem with Inkscape 0.91 and Firefox 52.0.2 or Chrome.
The thing is quite annoying, when you are dependent on showing your SVG in a browser (I was just beginning to love Inkscape and the JessyInk extension for creating presentations.)

Revision history for this message
rugk (48509946-3) wrote :

Any news here?

summary: - Gradients created by Inkscape are not rendered in mayor SVG renders
+ Gradients created by Inkscape are not rendered in major SVG renders
summary: - Gradients created by Inkscape are not rendered in major SVG renders
+ Gradients with pixels created by Inkscape are not rendered in major SVG
+ renders (which prefer percentages)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.