nfroidure/gulp-iconfont

output font slightly broken

Closed this issue · 1 comments

I have a collection of simple svg icons exported from illustrator. These contain just a <path> element to conform the icon itself. The original SVG format seems to be correct but within the generated font, the icon borderline seem to be broken displaying sharp corners and irregular lines. I'm not sure if this has to be with gulp-iconfont. Could this be a bug? is there anything in the configuration that I'm missing that could solve this?

FONT:
screen shot 2017-03-02 at 3 53 50 pm
ORIGINAL SVG:
screen shot 2017-03-02 at 3 54 31 pm

My bad, the icons was 50x50. I missed the part saying the size should be 500x500 at least. fontHeight: 1001, normalize:true, solves the problem.