Re: Font question



You can control the default font of all the applications by creating a
~/.gtkrc file with lines like:
  style "user-font"
  {
    font="some-xldf-font-name"
  }
  widget_class "*" style "user-font"

You can also get gtk to parse additional style rc files with calls to the
gtk_rc_parse() function inside your program.

James.

--
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/


On Mon, 8 Nov 1999, Joachim Backes wrote:

> Hi,
> 
> it seems that gtk+ apps built by glade run with -adobe-helvetica-medium-r...12... as
> global font. Question: I want to use another font als generally used font. How
> can this be achieved?
> 
> Regards
> 
> Joachim Backes
> 
> --
> 
> Joachim Backes <backes@rhrk.uni-kl.de>       | Univ. of Kaiserslautern
> Computer Center, Supercomputing Division     | Phone: +49-631-205-2438 
> D-67653 Kaiserslautern, PO Box 3049, Germany | Fax:   +49-631-205-3056 
> ---------------------------------------------+------------------------
> WWW: http://sgi400.rhrk.uni-kl.de/home/staff/backes.html  
> 
> 
> +---------------------------------------------------------------------+
> To unsubscribe from this list, send a message to majordomo@ncis.pn.org
> with the line "unsubscribe glade-devel" in the body of the message.
> 



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