sapegin / grunt-webfont

SVG to webfont converter for Grunt
MIT License
1.11k stars 210 forks source link

Strange behavior on windows browsers #345

Open gabrieledarrigo opened 8 years ago

gabrieledarrigo commented 8 years ago

Hello! First, thank you so much for this library, it is huge and really lovely! Second thing, we upgraded grunt-webfont to latest version while updating our Node.js, so we have:

Now on windows we have this strange bug, where all fonts has a sort of huge line height, and this happens on Chrome, Safari and Internet Explorer.

screen

In iOS fonts renders very well; any idea on what it can be? Thank you!

gabrieledarrigo commented 7 years ago

Any hints guys?

yevgeniy-belov commented 7 years ago

Open the "Envelop" icon in Illustrator (or any SVG editor) and see if it displaced from the art-board. If this is the case, this discussion can be helpful to you.

Bbemol commented 7 years ago

Hello,

Did it help you ? Because I'm also having those issues and find no ways to fix this. Thx,

Benj

alampros commented 7 years ago

That is very odd. I'm betting that it's not an issue with the source SVG, only because the font seems to render correctly on mobile safari. @gabrieledarrigo have you tried testing it on a non-windows desktop OS?

Bbemol commented 7 years ago

Have you tried using the option "normalize" ? (See the readme) I think It solved this issue for me...