Date: Sun, 20 Jul 2003 03:15:59 +0200 From: Holger Bauer <bauer.holger@gmx.de> To: freebsd-questions@freebsd.org Subject: Re: Changing gtk application fonts outside of gnome Message-ID: <20030720031559.27dbaa58.bauer.holger@gmx.de> In-Reply-To: <200307191552.04153.phil@sal-n-phil.net> References: <200307191552.04153.phil@sal-n-phil.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 19 Jul 2003 15:52:04 +0100
Phil Payne <phil@sal-n-phil.net> wrote:
> Hi,
>
> I'm running FreeBSD 4-stable, XFree86 4.30 & windowmaker 0.80.2.
> Default resolution and bitdepth is 1280x1024x24.
>
> Whenever I start GTK based apps (e.g. evolution, pan) I'm finding the
> application font size is too small to be readable. I've had a search
> through the mail archives and googled but I can't find anything
> explaining...
>
> ... how to change the default font for GTK apps outside of a gnome
> environment.
>
> Does anyone know if/how this can be done easily?
>
> I mean... I could lower the resolution but that feels a little
> defeatist.
>
> Please include me personally on the reply as I won't be receiving the
> list email for a while.
>
> Thanks,
> Phil.
Hi,
put some lines like these in your $HOME/.gtkrc for gtk1
style "user-font"
{
font="-bitstream-bitstream vera
serif-medium-r-normal-*-*-100-*-*-p-*-iso8859-15"
}
and in $HOME/.gtkrc-2.0 for gtk2
style "user-font"
{
font_name="Bitstream Charter 14"
}
I also recommend you have a look at gtk-theme-switch in ports, which
lets you adjust gtk-themes/fonts easily. The gtk2-version wasn't in
ports last time I checked, but you can easily compile it yourself.
Holger
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030720031559.27dbaa58.bauer.holger>
