Newer GTK ignores font style
xfce4-settings-4.19.0, gtk+-3.24.38
Hello,
It's not possible to change font type or weight in xfce4-settings anymore. The only accepted setting is font name and size. It doesn't matter whether you select Extra-Light or Extra-Bold, Italic or not, you'll get a normal font with Regular weight.
Fontconfig is for once not responsbile, as this also happens with an empty config.
This seems to be due to recent GTK versions being so CSS-based that they do not pay attention to these settings anymore. This was also observed here and confirmed in GTK bug 2484:
This is intentional. We are following CSS, which takes only the font family name from the environment. Tweaks should not let you select a style that will get ignored.
We should either add some CSS rules for our selected font, or remove the ability to set font styles, because it ends up being quite confusing.
(btw, I also suspect that hinting and sub-pixel settings are also being overridden by GTK)
Thanks! :)