fonttools / fontbakery

🧁 A font quality assurance tool for everyone
https://fontbakery.readthedocs.io
Apache License 2.0
546 stars 99 forks source link

Is our Vertical Metrics spec inconsistent? #2841

Open davelab6 opened 4 years ago

davelab6 commented 4 years ago

Observed behaviour

A user writes that the vertical metrics of fonts updated within the last few years that I believe use our latest VM spec are rendering inconsistently:

I'm creating my own website and wanted to use Montserrat for the navigation bar because of how great it works as an overall heading style. I've noticed that browsers based on Chromium display everything properly, but other browser types (Firefox, IE11, Safari) do not. I've attached a picture for reference (text alignment and padding changes). There isn't anything in my coding that specifically calls out webkit browsers, and if I simply change to another font such as Open Sans, then the issue goes away. This issue is noticeable in Montserrat, Comfortaa, and many other wider Google Fonts.

Chromium-left_Other-right

Expected behaviour

Can we reproduce this, and determine a vertical metrics spec that renders consistently?

cc @m4rc1e

davelab6 commented 4 years ago

I'm marking this as urgent because it is very important to confirm if our current guidance is bad...

davelab6 commented 4 years ago

@felipesanches please prioritize this

felipesanches commented 4 years ago

I will try to figure this out during this next week.

felipesanches commented 4 years ago

@m4rc1e or @tphinney, can any of you help me here to replicate this issue and figure out if there's something wrong with our vertical metrics guidelines?

felipesanches commented 4 years ago

My difficulty here is in setting up a way to replicate this. As the user do not seem to have provided sample files from his website project, then I think we may need to create small HTML+CSS files ourselves. I am not sure what would be the minimal setup to replicate this.