Re: Custom font for application

2011-07-25 Thread Richard Shann
I sorted this out yesterday (see denemo-devel mailing list), what you need I suspect is along the lines of this: GtkSettings *settings = gtk_settings_get_default( ); gtk_settings_set_string_property(settings, "gtk-font-name" , "FreeSerif 12", "denemo"); // Note: GTK complains that the font does

Re: Custom font for application

2011-07-25 Thread Richard Shann
On Mon, 2011-07-25 at 12:00 +, gtk-app-devel-list-requ...@gnome.org wrote: > > Does anyone here know how I can create and load a custom font for my > application from the source code? What method or methods do I need to > invoke to load the font that I can render? What rendering methods do I >

Custom font for application

2011-07-24 Thread Ferdinand Ramirez
Does anyone here know how I can create and load a custom font for my application from the source code? What method or methods do I need to invoke to load the font that I can render? What rendering methods do I need to override so that my custom fonts are the ones rendered? Are there any examples