Re: Help on Font Size



On Tue, Nov 21, 2006 at 06:09:23PM +0530, Naveen Kumar wrote:
  I am using gtk+-2.2.0 to develop my application. I noticed that any    
  application build on gtk uses the Application font of the operating system
  on which it runs.

Because this is what users normally want.

  Is there any way to set other font idependent to the application font of
  Operating System.

If you are sure you want this, use

    gtk-font-name = "Vera Sans 12"

in app-specific gtkrc file and parse it with gtk_rc_parse()
or gtk_rc_add_default_file() (this still allows users to
change it by changing the app-specific rc file) or hardcode
it to a string and use gtk_rc_parse_string().

Yeti


--
Whatever.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]