Lazy Diary @ Hatena Blog

PowerShell / Java / miscellaneous things about software development, Tips & Gochas. CC BY-SA 4.0/Apache License 2.0

GTK なアプリケーションのフォント設定

~/.gtkrc-2.0 というファイルを作って、内容を次のようにすればよい。以下は IPA P ゴシックを使う場合。

style "mystyle" {
font_name = "IPAPGothic 10"
}
class "*" style "mystyle"