The Logo shape is OK on this one, but the P is still filled in.
I’m using KiCad 7.0.1-0.
Both files display properly in a web browser and in Inkscape.
Any tips?
This seems similar to the following two issues, but both posts are a bit out of date at this point. Should I file a new bug? Reopen an existing one? Or has this already been reported somewhere for KiCad 7?
Did a bit of experimenting by examining the SVG and hand-editing it.
The cure was to add ‘fill-rule=“evenodd”’ to the polygons that don’t specify it.
Per the spec at Mozilla, the default for ‘fill-rule’ is supposed to be ‘nonzero’, which is the way KiCad is interpreting it.
So, that makes for a tough call:
Should KiCad follow the spec properly?
Or should KiCad do what other software does?
(Inkscape, Chrome and Firefox seem to ignore the property and assume the even-odd rule, which is probably inherited from the way most graphical editors work.)
I suppose the best solution would be to offer some kind of import option… though that would be a lot of work.
Anyway, I’ll try to upload my hand-edited versions if anyone wants them
I’m not sure what you are planning to do with the imported SVGs, but I assume that you are aware of the footprints in the standard library eg “Symbol:OSHW-Logo_38.1x40mm_SilkScreen” etc
This kind of issue was raised up several times. They partially solved it, at leas t for the way I use it; However I hope they will od something definitive because it’s tiring.