Make gtk widgets use a larger font
parv at pair.com
parv at pair.com
Fri Dec 10 15:26:53 UTC 2010
in message <20101209114208.C1131 at qroenaqrq.6qbyyneqvnyhc.pbz>, wrote
Lars Eighner thusly...
>
> How do I make gtk widgets use larger fonts? I found an old linux
> FAQ on this, but it appears to have nothing to do with the way
> configuration works on FreeBSD.
In ~/.gtkrc-2.0, I have ...
style "default"
{
#font="-adobe-new century schoolbook-medium-r-normal--14-*-*-*-*-*-iso8859-1"
#font_name="New Century Schoolbook 12"
font_name="Bitstream Vera Sans 10"
}
style "user-tooltip"
{
font_name="Screen 15"
}
# 'gtk-font-name' property is needed for damned Firefox 1.5 as
# 'font_name' property alone didn't work, but does for Gimp 2.2.
# Anti-aliased fonts are used though i would love to use
# non-anti-aliased font in order to get New Century Schoolbook 14
# font.
#gtk-font-name = "Bitstream Vera Serif 12"
#gtk-font-name = "New Century Schoolbook 12"
gtk-font-name = "Bitstream Vera Sans 10"
widget "*" style "default"
widget "*tooltip*" style "user-tooltip"
... and in ~/.gtkrc ...
style "default"
{
font="-adobe-new century schoolbook-medium-r-normal--18-*-*-*-p-*-iso8859-1"
}
style "user-tooltip"
{
font="-sgi-screen-bold-r-normal--16-*-*-*-*-0-iso8859-1"
}
widget "*" style "default"
widget "*tooltip*" style "user-tooltip"
- parv
--
More information about the freebsd-questions
mailing list