Opened 9 years ago

Last modified 5 years ago

#5955 new bug

Icon-O-Matic can't import some svg files (missing xlink:href support)

Reported by: damoklas Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/Icon-O-Matic Version: R1/alpha2
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Icon-O-Matic not open svg files from this site: http://www.openclipart.org Tested on hrev36737

Attachments (3)

Icon-O-MaticBug.png (45.5 KB) - added by X512 9 years ago.
Incorrect loading gradients
system-installer.svg (23.3 KB) - added by X512 9 years ago.
SVG file
_Flag_of_Andorra.svg (77.4 KB) - added by humdinger 9 years ago.
Can't open in I-O-M or WonderBrush

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 years ago by X512

Version: R1/alpha1R1/alpha2

After testing I found out what Icon-O-Matic cannot load gradients in some SVGs. Shapes loads right. Same problem in Wonderbrush.

Changed 9 years ago by X512

Attachment: Icon-O-MaticBug.png added

Incorrect loading gradients

Changed 9 years ago by X512

Attachment: system-installer.svg added

SVG file

comment:2 Changed 9 years ago by humdinger

Here's another file you can't open in I-O-M or WonderBrush. I-O-M just closes, WonderBrush says it can't open the file with a Translator and then: Error: parse_path: Command C: bad or missing parameters

Changed 9 years ago by humdinger

Attachment: _Flag_of_Andorra.svg added

Can't open in I-O-M or WonderBrush

comment:3 Changed 5 years ago by pulkomandy

The flag of Andorra seems to work now (some parts of the picture are missing, but it doesn't closes I-O-M.

The system-installer one has empty gradients. This is because we are missing support for xlink:href which is used in this file to copy color stops from a gradient to another (see https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href ). We don't handle this and end up with empty color stops.

comment:4 Changed 5 years ago by pulkomandy

Summary: Icon-O-Matic not open svg filesIcon-O-Matic can't import some svg files (missing xlink:href support)
Note: See TracTickets for help on using tickets.