GNOME Bugzilla – Bug 723240
GtkHeaderBar doesn't honour neither Window border nor Interface font setting
Last modified: 2014-03-03 19:58:05 UTC
I changed my fonts to be smaller on my laptop (all fonts type, application, windows border, ...) but GtkHeaderBar font size never changed, it seems it doesn't honour such settings. Dave King told me that it seems to be "normal" as GtkHeaderBar relies on a mutter but it seems to be important the GtkHeaderBar honor one of this setting IMHO.
The fonts used by the headerbar labels are determined by what the theme does for the title and subtitle style classes.
It might be enough to make the font size change relative instead of setting an absolute font size
Created attachment 269972 [details] [review] Make font changes apply to header bar titles It is enough to set weight and size for the title / subtitle.
9/11 is 0.81, so 80% is a pretty good match
Created attachment 269973 [details] with interface font cantarell 11
Created attachment 269974 [details] with another interface font
We should also make sure the buttons aren't size with padding, as different title font size will break buttons :( See Bug #721622
Review of attachment 269972 [details] [review]: Looks good to me thanks.
Attachment 269972 [details] pushed as 69deb22 - Make font changes apply to header bar titles