RedHatOfficial / Overpass

Overpass open source web font family — Sponsored by Red Hat
http://overpassfont.org
SIL Open Font License 1.1
2k stars 92 forks source link

Different heights between 200/400 and 600/700 weights #25

Closed yuchi closed 7 years ago

yuchi commented 8 years ago

In the online preview of the Web Font is possible to notice a difference in heights between different weights. In the next image I tried to highlight the difference by placing a box just under the last pixel of straight letters (lower case H and upper case I). You can see the purple box (for 200 and 400) overlaps vertically only part of the blue box (600 and 700).

Overpass weights’ heights comparison

Also if an inline element breaks this barrier (such as a <strong> inside text with the 400 weight) it changes the height of the line. In the next image I highlighted the endings of the bottom separator line between the ‘normal’ case and the case with a bolder word.

Inline weights comparison

I tested that this issue is reproducible in the following cases:

It is also reproducible in the following cases:

It is not reproducible in these:


I initially thought it was something related to some issues in hinting heavier weights. The fact that there are issues rendering lighter weights inside heavier ones made me change my mind.

I can only infer it is still something related to hinting, but probably the vertical position of characters are to be blamed for this strange behavior.

I didn’t have time to understand if this is an issue limited to the Web Font, which I reproduced the issues with, or more generally with the font design. I’m also completely unaware of how to diagnose if the origin has to be found in the fonts.


Thank you for a great typeface design and font execution.

DelveFonts commented 8 years ago

Thank you @yuchi for pointing this issue out. It will be resolved with the next update.

yuchi commented 8 years ago

Would you mind to reference this issue in commits so that I can follow the changes? While completely ignorant in design and pratical issues around font face implementation, I’m very willing to learn.

DelveFonts commented 8 years ago

Will do.

andyfitzsuse commented 7 years ago

the metrics have been resolved thanks to the new 3.0 release.

Thanks for your patience!

yuchi commented 7 years ago

@andyfitz Could you please give me some details on how that happened and you solved it?