RedHatOfficial / Overpass

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

GNOME cannot distinguish Bold from SemiBold #65

Closed michaelkuhn closed 2 years ago

michaelkuhn commented 6 years ago

If I select Overpass Bold it actually ends up being the same weight as Overpass SemiBold. I can remember that Source Sans Pro used to have a similar problem but I cannot find a source anymore.

This is on Fedora 28 with Overpass 3.0.2.

michaelkuhn commented 6 years ago

I debugged this a bit further.

If I use pango-view --font='Overpass Bold 10', I actually get the bold font. If I select the same in a GNOME application, I get the semibold one. I guess this is due to Cairo doing something differently.

Due to this, I experimented with fc-match and came up with the following strange behavior:

$ fc-match Overpass:Bold
overpass-bold.otf: "Overpass" "Bold"
$ fc-match Overpass:SemiBold
overpass-semibold.otf: "Overpass" "SemiBold"
$ fc-match Overpass:style=Bold
overpass-semibold.otf: "Overpass" "SemiBold"
$ fc-match Overpass:style=SemiBold
overpass-semibold.otf: "Overpass" "SemiBold"
fitojb commented 3 years ago

I think this should be reported to GNOME

michaelkuhn commented 2 years ago

I just gave this another try using Overpass 3.0.5 on Fedora 34 and it seems to be fixed. fc-match now also seems to do the right thing.