Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2007 09:41:49 +0400
From:      Alexander Zhuravlev <zaa@zaa.pp.ru>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        ports@freebsd.org
Subject:   Re: Change the default GTK2 font?
Message-ID:  <20071001054149.GA85418@orion.ulstu.ru>
In-Reply-To: <20071001052630.GA3366@k7.mavetju>
References:  <20071001052630.GA3366@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 01, 2007 at 03:26:30PM +1000, Edwin Groothuis wrote:
> Hello,
> 
> With the upgrade to xorg 7.3 suddenly the default font for GTK2x
> applications has moved from a nice small one to a huge one which
> gives me about 50% of the text I normally get on my screen.
> 
> XTerms themselves still have the right size.
> 
> How and where can I define which font GTK2x applications should use
> as their default ones?

You can use something like this

% cat ~/.gtkrc-2.0

style "user-font" { 
        font_name="Verdana 8" 
} 

widget_class "*" style "user-font" 
gtk-font-name="Verdana 8"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071001054149.GA85418>