I am working on a project using GTK2 2.14 and Glade with libglade as the file format. I'm struggling to set the overall font of the application. I have been successful changing the font of the individual labels using Pango markup directly through Glade with the "Use Markup:" feature, but I am looking for something to change all of the widgets, including the buttons. Modifying the gtkrc file allows changes to both the style and the size of the "font_name" declaration, but not the font family. The fact that changes to the resource file work other than the font family leads me to believe that it's getting overridden somewhere. If so, where should I be looking?
It's also very possible that something's wrong with my gtkrc file. Below's a snippet.
Code:
style "defaultfont"
{
font_name = "Sans Bold 15"
}
gtk-font-name = "Sans 15"
class "GtkWidget" style "defaultfont"
Any insight is appreciated.