nfroidure / svgicons2svgfont

Concatenate SVG icons and ouput an SVG font
http://nfroidure.github.io/svgiconfont/
MIT License
340 stars 71 forks source link

Pixel-accurate size lead to errors #47

Closed dreerr closed 8 years ago

dreerr commented 8 years ago

When working with a SVG from Illustrator, having it set to 120x180px canvas size the corresponding glyph has errors. When upscaling the canvas to 1200x1800px with the artwork resized the problem is gone. Already tried changing the round parameter.

here is a screenshot of the result, zoomed in:

bildschirmfoto 2015-12-16 um 14 12 48
nfroidure commented 8 years ago

This is a know TTF limitation, see https://github.com/nfroidure/gulp-iconfont#preparing-svgs to find the best practices for preparing your SVG files.

dreerr commented 8 years ago

Thanks a lot and sorry for bothering :(

nfroidure commented 8 years ago

No problem, it would be best if it were mentioned in this repo's readme too.