SVG Icons seem to be destroyed after building the font with gulp-iconfont
Closed this issue · 4 comments
julkuh commented
Hey there,
i've just created some nice looking svg's and let gulp-iconfont build a webfont out of them. But in the webfonts, the glyps look realy destructed and compressed. Is there a limit of Anchorpoints per glyph or anything like that which could cause the problem?
Here are two images:
The first one is the result building the font with icommon.io:
The second shows the result when bulding the font with gulp-iconfont
pete-hotchkiss commented
julkuh commented
I found out that you can set the property fontSize:1000
. Then it looks already much nicer
iconfont({
fontName: 'myfont', // required
prependUnicode: true, // recommended option
formats: ['ttf', 'eot', 'woff'], // default, 'woff2' and 'svg' are available
fontSize: 1000
})
nfroidure commented
Great. Closing.