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

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 01, 2007 at 09:41:49AM +0400, Alexander Zhuravlev wrote:
> 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"

I used this one to overcome my initial problems,

> I find /usr/ports/x11/gtkchtheme works well for this.

And this one to setup a nice theme (industrial now)

Thanks for yours helps!

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |              Weblog: http://www.mavetju.org/weblog/



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