Monday, August 24, 2009

Change GTK+ Font to support Internationalize setting

http://developer.pidgin.im
/wiki/Using%20Pidgin#HowdoIchangethefontPidginusesThebackgroundcolor

http://74.125.153.132/search?q=cache:3nQBcxiXhTgJ:d.hatena.ne.jp/dharry/20081118/1227023802+pidgin+font&cd=2&hl=ja&ct=clnk&gl=jp&lr=lang_ja&client=firefox-a

I found the plugin "Pidgin Theme Control" can implement the request too.

As an example, you can put this into .gtkrc-2.0 to change the font size for all GTK+ applications:

# Sets the font used by all gtk applications.
gtk-font-name = "Verdana 9"

Alternatively, you can do this to change the font size for other elements:

# This is the style section. You need this for the examples below.
# If you are going to copy the example, copy the entire block,
# including the "{" and "}" lines.
style "imhtml-fix"
{
font_name = "Sans 10"
}

# This will apply the font style just shown to various components.
# If you are going to copy the example, copy the line that does
# what you want.

# Conversation entry box--where you type.
widget "*pidgin_conv_entry" style "imhtml-fix"

# Conversation history pane--where you read the conversation.
widget "*pidgin_conv_imhtml" style "imhtml-fix"

# Log viewer--where you read stored logs
widget "*pidgin_log_imhtml" style "imhtml-fix"

# formatting-capable entry areas (IMHtml widgets) in request dialogs
widget "*pidgin_request_imhtml" style "imhtml-fix"

# formatting-capable notification areas in dialogs (again, IMHtml widgets)
widget "*pidgin_notify_imhtml" style "imhtml-fix"

No comments: