nfroidure/gulp-iconfont

SVG Icons seem to be destroyed after building the font with gulp-iconfont

Closed this issue · 4 comments

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:
image

The second shows the result when bulding the font with gulp-iconfont
image

I get similar

image
is the SVG file

image
is the resulting font

Duplicate of #138 ?

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
    })

Great. Closing.