Open vitmalina opened 10 years ago
Do you use the node engine?
Yes. I use node engine.
@nfroidure Could you take a look at this files? Maybe it’s IcoMoon bug and shouldn’t be fixed there.
I assume the empty x/y values are parsed to NaN so that the SVGPathData parser fails parsing the converted path.
Currently, i'm renovating my new house so will not have time to fix this right now. Feel free to PR svgicons2svgfont since the problem sits at this level.
Otherwise, i'll probably fix it in about 2 weeks.
icomoon adds extra info so they can display the grid on their site. You should remove that prior to attempting to use the file anywhere.
I have downloaded latest icons from icomoon.io as svg and compiled it with grunt task. I get the following error:
The SVG file is
I can open this SVG file in Illustrator and save it back, then it works. Then I looked into the problem and found that if I remove this line
then everything compiles fine. Not sure whose problem it is, but decided to post here.