2011-03-05

Slitaz -- GTK font

GTK font

To manually change the type and size of your fonts, add the following to ~/.gtkrc.2.0:

style "user-font"
{
font_name = "[font-name] [size]"
}
widget_class "*" style "user-font"
gtk-font-name = "[font-name] [size]"

where [font-name] [size] is the desired font and point size. For example:

# ~/.gtkrc-2.0 - GTK+ theme, icon and font configuration.
#
# System files : /usr/share/{themes,icons,fonts}
# Personal files : ~/.icons and ~/.fonts
#

gtk-theme-name = "SliTaz"
#gtk-theme-name = "Clearlooks-DeepSky"
#gtk-theme-name = "Clearlooks-Olive"

gtk-icon-theme-name = "SliTaz"

gtk-font-name = "DejaVu Sans 9"


Both font_name and gtk-font-name fields are required for backwards compatibility.

您也可以使用 gtk-chtheme 或 lxappearance 設定 GTK 字型。