Closed michaelkuhn closed 2 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"
I think this should be reported to GNOME
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.
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.