Skip to content

Wrong vertical metrics causes positioning issues in internet explorer #9

@jean343

Description

@jean343

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: mozilla/Fira#57

Thanks!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions