Open JoKalliauer opened 6 years ago
The original file will be processed correctly (with an error). Did you modified it beforehand? Because the original one doesn't have "
.
Yes, and I know it is my fault, because I was a bit careless.
Actually I use: https://github.com/JoKalliauer/cleanupSVG which uses sed (stringedit), inkscape, scour, svgo and svgcleaner.
The easiest way to reproduce this error:
1) svg2validsvg.sh adds xmlns:xlink="http://www.w3.org/1999/xlink"
in the <svg
-tag
2) o4compression.sh calls svgo (for this case just use default options), which adds "
(You could use https://jakearchibald.github.io/svgomg/ with quite similar result, but the graphical interface also adds src:url("#FontID0")
with default options, which would lead to an error in svgcleaner)
3) Now that's my fault: I changed @font-face
to font-face
(Just noticed changing to .font-face
would work properly)
4) Then started svgcleaner
Maybe you can just close this bug, since there are too many unrealistic things: A problematic file prozessed with svgo, which (wrongly?) adds "
and a "stupid" user that just removes the @
without thinking, just to overcome the svgcleaner-error. (Here it is the users fault.)
Well, the "
parsing is still a bug. So I had to fix it.
@font-face
cannot be changed to font-face
or .font-face
.
Prozessing Oriflamme1.svg with
leads to a syntax-error:
<font-face font-family=""" Dominican="mall Caps"" src="url('#FontID0') format(svg)"/>
input.svg.txt
output.svg.txt