Skip navigation.

exploreopera

| Help

Sign up | Help

風街新報 

冬なんです

Posts tagged with "GIMP・Inkscape"

GIMPやInkscapeの文字化け対策 (GTK for Windows)

この文章は風街新報の前身である風街日報からの転載です。



■GIMPとsodipodi■


C:\Program Files\Common Files\GTK\2.0\etc\pango\pango.aliases は、こうする

▼修正後
courier = "courier new,ms gothic"
#Tahoma = "Tahoma,browallia new,mingliu,simhei,gulimche,msgothic,latha,mangal"
Tahoma = "Tahoma,MS UI Gothic,browallia new,mingliu,simhei,gulimche,latha,mangal"

sans = "arial,browallia new,mingliu,simhei,gulimche,ms gothic,latha,mangal"
serif = "times new roman,angsana new,mingliu,simsun,gulimche,ms gothic,latha,mangal"
monospace = "courier new,courier monothai,mingliu,simsun,gulimche,ms gothic,latha,mangal"



C:\Program Files\Common Files\GTK\2.0\etc\gtk-2.0\gtkrc は

▼修正後
gtk-icon-sizes="gtk-menu=14,14:gtk-small-toolbar=16,16:gtk-large-toolbar=24,24:gtk-dnd=32,32"
gtk-toolbar-icon-size=large-toolbar
gtk-button-images=1

style "msw-default"
{
GtkWidget::interior_focus = 1
GtkOptionMenu::indicator_size = { 9, 5 }
GtkOptionMenu::indicator_spacing = { 7, 5, 2, 2 }
GtkToolbar::shadow-type = etched-in
GtkHandleBox::shadow-type = etched-in
GtkSpinButton::shadow-type = in
GtkComboBox::add-tearoffs = false

GtkTreeView::allow-rules = 0
GtkTreeView::expander_size = 11
font_name="Tahoma 9"
engine "wimp"
{
}
}
class "*" style "msw-default"

style "my-font"
{
# フォントサイズ(ツールチップ以外)
font_name="Tahoma 10"
}
widget "*" style "my-font"


となる。なお engine "wimp" の直上がツールチップの指定。

これで文字化けは直るはず。



■Inkscape■

こちらはC:\Program Files\Inkscape\etc\pango\pango.aliasesを
上記と同様にに修正

さらにC:\Program Files\Inkscape\etc\gtk-2.0\gtkrc は
GIMPのものに差し替える。まぁ上と同様。
October 2008
SMTWTFS
September 2008November 2008
1234
567891011
12131415161718
19202122232425
262728293031