2012-01-08 14:44:26 |
Alexandre Prokoudine |
bug |
|
|
added bug |
2012-01-08 14:44:26 |
Alexandre Prokoudine |
attachment added |
|
database-bug.svg https://bugs.launchpad.net/bugs/913431/+attachment/2662792/+files/database-bug.svg |
|
2012-01-08 14:45:05 |
Alexandre Prokoudine |
attachment added |
|
The original SVG file https://bugs.launchpad.net/inkscape/+bug/913431/+attachment/2662793/+files/database-normal.svg |
|
2012-01-08 14:46:13 |
Alexandre Prokoudine |
description |
The report is coming from Andrey Bayrak of SVG Cleaner team.
According to SVG standard, default values for cx, cy and r elements for radialGradients is 50%. To quoate it: “If the attribute is not specified, the effect is as if a value of '50%' were specified.”
That means if cx and cy are 1/2 of viewBox's width and height, they can be safely wiped during optimization. E.g. Firefox will render such an optimized SVG file just fine, but Inkscape won't.
Andrey illustrates that with two attached files: database-bug.svg is the optimized version of database-normal.svg and has the cx="64" attribute removed from lines 112 and 114. |
The report is coming from Andrey Bayrak of SVG Cleaner team.
According to SVG standard, default values for cx, cy and r elements for radialGradients is 50%. To quote it: “If the attribute is not specified, the effect is as if a value of '50%' were specified.”
That means if cx and cy are 1/2 of viewBox's width and height, they can be safely wiped during optimization. E.g. Firefox will render such an optimized SVG file just fine, but Inkscape won't.
Andrey illustrates that with two attached files: database-bug.svg is the optimized version of database-normal.svg and has the cx="64" attribute removed from lines 112 and 114. |
|
2012-01-08 17:39:09 |
su_v |
tags |
|
gradient svg |
|
2012-01-08 18:01:19 |
su_v |
inkscape: status |
New |
Confirmed |
|
2012-01-09 06:21:12 |
su_v |
attachment added |
|
913431-radial-gradient-4-inkscape.svg https://bugs.launchpad.net/bugs/913431/+attachment/2663674/+files/913431-radial-gradient-4-inkscape.svg |
|
2012-01-09 06:21:12 |
su_v |
attachment added |
|
913431-radial-gradient-4-no-cx.svg https://bugs.launchpad.net/bugs/913431/+attachment/2663675/+files/913431-radial-gradient-4-no-cx.svg |
|
2012-01-09 06:21:12 |
su_v |
attachment added |
|
913431-radial-gradient-4-no-cy.svg https://bugs.launchpad.net/bugs/913431/+attachment/2663676/+files/913431-radial-gradient-4-no-cy.svg |
|
2012-01-09 06:21:12 |
su_v |
attachment added |
|
913431-radial-gradient-4-no-cx-cy.svg https://bugs.launchpad.net/bugs/913431/+attachment/2663677/+files/913431-radial-gradient-4-no-cx-cy.svg |
|
2012-01-10 04:11:58 |
su_v |
attachment added |
|
913431-radial-gradient-4-screenshots.png https://bugs.launchpad.net/inkscape/+bug/913431/+attachment/2665275/+files/913431-radial-gradient-4-screenshots.png |
|
2015-09-16 06:56:40 |
jazzynico |
inkscape: status |
Confirmed |
Triaged |
|
2015-09-16 06:58:09 |
jazzynico |
inkscape: importance |
Undecided |
High |
|
2019-04-26 07:14:18 |
Nathan Lee |
tags |
gradient svg |
bug-migration gradient svg |
|
2019-04-26 08:01:00 |
Nathan Lee |
inkscape: status |
Triaged |
Invalid |
|
2019-04-26 08:01:47 |
Nathan Lee |
bug watch added |
|
https://gitlab.com/inkscape/inbox/issues/415 |
|
2020-12-20 13:25:03 |
Nathan Lee |
bug |
|
|
added subscriber Nathan Lee |
2020-12-20 13:25:05 |
Nathan Lee |
bug watch added |
|
https://gitlab.com/inkscape/inkscape/-/issues/781 |
|
2020-12-20 13:25:05 |
Nathan Lee |
bug watch added |
|
https://gitlab.com/inkscape/inkscape/-/issues/787 |
|