Frederik,
NodeBox has problems importing SVGs with partial opacity and/or a stroke width of 1.
Attached is a demo file and screenshot. I create two boxes with 1-stroke outlines, one solid red, the other red with an alpha of .25 (64/255). I export as SVG then import the same file. Outline is missing and second rectangle has no visible fill (making it invisible).
I checked inside the SVG files and there seem to be two issues:
-
stroke-width is not included in the SVG export if stoke width is 1. Thicker stroke widths work fine.
-
If fill is not solid, the fill value is replaced with an rgba call. Most programs can read this correctly, but apparently not NodeBox. Import fails to fill shapes with rgba function fills. SVGs with fill-opacity="0.25" in the code import the fill correctly but also apply that opacity to the outlines.
Might be easy to fix and is currently causing me some grief.
Thanks,
John