Opened 15 years ago

Closed 4 years ago

Last modified 4 years ago

#5955 closed bug (fixed)

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

Reported by: damoklas Owned by: stippi
Priority: normal Milestone: R1/beta2
Component: Applications/Icon-O-Matic Version: R1/alpha2
Keywords: Cc:
Blocked By: Blocking:
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 14 years ago.
Incorrect loading gradients
system-installer.svg (23.3 KB ) - added by X512 14 years ago.
SVG file
_Flag_of_Andorra.svg (77.4 KB ) - added by humdinger 14 years ago.
Can't open in I-O-M or WonderBrush

Download all attachments as: .zip

Change History (10)

comment:1 by X512, 14 years ago

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.

by X512, 14 years ago

Attachment: Icon-O-MaticBug.png added

Incorrect loading gradients

by X512, 14 years ago

Attachment: system-installer.svg added

SVG file

comment:2 by humdinger, 14 years ago

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

by humdinger, 14 years ago

Attachment: _Flag_of_Andorra.svg added

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

comment:3 by pulkomandy, 10 years ago

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 by pulkomandy, 10 years ago

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

comment:5 by pulkomandy, 4 years ago

Fixed in https://review.haiku-os.org/c/haiku/+/2661 but the gradients don't look correct yet.

comment:6 by waddlesplash, 4 years ago

Resolution: fixed
Status: newclosed

Fix merged in hrev54246.

comment:7 by nielx, 4 years ago

Milestone: R1R1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.