ubuntuのデフォルトフォントをメイリオにする
2007-02-22に刺激を受けたのでチャレンジする
どうにかして(合法の範囲)で手に入れたmeiryo.ttcを用意する
$ mkdir ~/.fonts ; cp meiryo.ttc meiriob.ttc ~/.fonts $ cat /etc/fonts/conf.avail/69-language-selector-ja-jp.conf | sed '1,/strong">/s/strong">/strong">\n\t\t\t<string>Meiryo<\/string>/' > ~/.fonts.conf $ xset fp rehash
まあ、Meiryoのゴシック相当なので最初のsans-serifをIPAモナーより前にMeiryoとしただけ
追記 2008/12/09 20:25:27:
MeiryoKe_Gothicの場合は.fonts.confを以下のようにする。
<fontconfig> <match target="pattern"> <test qual="any" name="family"> <string>sans-serif</string> </test> <edit name="family" mode="prepend" binding="strong"> <string>MeiryoKe_PGothic</string> <string>IPAMonaPGothic</string> <string>IPAPGothic</string> <string>VL PGothic</string> <string>Sazanami Gothic</string> <string>Kochi Gothic</string> </edit> </match> <match target="pattern"> <test qual="any" name="family"> <string>serif</string> </test> <edit name="family" mode="prepend" binding="strong"> <string>IPAMonaPMincho</string> <string>IPAPMincho</string> <string>Sazanami Mincho</string> <string>Kochi Mincho</string> </edit> </match> <match target="pattern"> <test qual="any" name="family"> <string>monospace</string> </test> <edit name="family" mode="prepend" binding="strong"> <string>MeiryoKe_Gothic</string> <string>IPAMonaGothic</string> <string>IPAGothic</string> <string>VL Gothic</string> <string>Sazanami Gothic</string> <string>Kochi Gothic</string> </edit> </match> </fontconfig>