lato-font icon indicating copy to clipboard operation
lato-font copied to clipboard

Wrong vertical metrics causes positioning issues in internet explorer

Open jean343 opened this issue 6 years ago • 1 comments

Hello,

Thanks for making the lato font as an npm package. There is an issue with the vertical positioning of the font in Internet Explorer, and it could be solved by modifying the .woff file.

The issue can be seen below, even when setting a line-height, the text is not vertically centered. image

I suggest to convert the woff font which could be done by setting "Auto-Adjust: Vertical Metrics” in fontsquirrel, this fixes the problem in IE, and does not touch the other browsers which are using the woff2 font.

This bug is similar to this bug in Fira: https://github.com/mozilla/Fira/issues/57

Thanks!!

jean343 avatar Jun 28 '18 14:06 jean343

Thank you so much. This fix works.

nishavaitywebdev avatar Oct 02 '19 00:10 nishavaitywebdev