Re: font size

From: Philip Blundell <pb_at_nexus.co.uk>
Date: 01 Jan 2003 17:59:41 +0000

On Wed, 2003-01-01 at 17:49, erez_at_savan.com wrote:
> how can i set the font size ?
> 1. default (global)

In your gtkrc (see http://neugierig.org/content/gtk2/) or with gpe-confd
(xst write Gtk/FontName str "Verdana 7"). The former is appropriate for
setting a system-wide default, and requires an application restart; the
latter is appropriate for individual user preferences and takes effect
at once.

> 2. from inside a gtk2 app -> hardwire in c code

Hardwiring fonts inside programs is not generally desirable, because
this obviously stops the user from being able to configure the
appearance. If you need a different font for some particular reason,
you can create a custom style and apply it to the appropriate widgets.

p.
Received on Wed Jan 01 2003 - 17:59:43 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:19:02 EDT