oslllo / svg-fixer

Converts SVG Strokes To Fill.
https://docs.oslllo.com/svg-fixer/master/
MIT License
208 stars 16 forks source link

Weird results when converting to otf file #113

Open frederikstonge opened 3 weeks ago

frederikstonge commented 3 weeks ago

I used your package in a process to create an otf font out of my svgs.

Turns out, some icons have weird artifacts in them. It doesn't seem to work on all types of icons.

image

frederikstonge commented 3 weeks ago

I know some people uses these :

https://www.npmjs.com/package/svg-flatten

https://github.com/upendra-web/lean-svg/blob/master/src/assets/flatten.js

Ghustavh97 commented 3 weeks ago

This issue is usually caused by the tool you are using to convert to fonts. see https://github.com/oslllo/svg-fixer/issues/107. Try tools like icomoon.io, fontello.com or https://www.npmjs.com/package/webfont to see if you get the same issue.

frederikstonge commented 3 weeks ago

This issue is usually caused by the tool you are using to convert to fonts. see #107. Try tools like icomoon.io, fontello.com or https://www.npmjs.com/package/webfont to see if you get the same issue.

When using picosvg, my icons are displayed correctly.