fontello / svg2ttf

SVG -> TTF font convertor
MIT License
518 stars 79 forks source link

Font symbols look not sharp #65

Closed AGavrashenko closed 6 years ago

AGavrashenko commented 6 years ago

Hello. I'm using svg2ttf for generating ttf font for processing to other formats like eot, woff, etc. I've noticed that icons in ttf are have crashed edges in IE and Firefox(Windows).

screen shot 2018-03-15 at 12 01 23 pm

Currently, I use this config:

{
    fontHeight: 1024,
    ascent: 896,
    descent: 128
}

But I've tried different variants and received the same result.

Also, I've tried to convert my svg font via other online tools. The result I received (svg2ttf from the left):

screen shot 2018-03-15 at 12 01 37 pm

All screenshots was made in IE. As you can see, the font looks much better. So, is this an issue of svg2ttf?

puzrin commented 6 years ago

Did you tried to apply ttfautohint after svg2ttf?

https://github.com/fontello/fontello/blob/97d3bdb0d45a9cb165bf9218f9c510c0fa3120c8/internal/fontello/font_build/_lib/worker.js#L118-L136

AGavrashenko commented 6 years ago

@puzrin no, I didn't.

puzrin commented 6 years ago

I guess, that's not issue of svg2ttf then.