I isolated it to removeDuplicateGradients or something it calls.

In Scour revision 195, elements referencing a duplicate gradient are
updated for renaming only in xlink:href and XML fill=, stroke= etc.
attributes, so anything in style= doesn't get updated.

I confirmed that it's removeDuplicateGradients messing up the document,
because with its code to rename and remove gradients commented out,
deja-dup.svg renders correctly again.

However, adding code to update style= (basically a call to renameID from
--shorten-ids's code, but without updating the dup gradient's ID before
removing it) makes the problem worse. It removes the blueness of the
arrow completely in Firefox.

Something's very wrong here...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/702423

Title:
  Scour corrupts deja-dup.svg

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to