Linux でのフォント事情 #contents * 設定ファイル [#bc4d2b62] /etc/fonts/fonts.conf が大元の設定です.XML で書かれており,HTMLなどのマークアップ 自分様の設定は ~/.fonts.conf に書いてオーバーライドします. * アンチエイリアス [#f88a3275] Vine Linux 3.0 から,X でのフォントシステムに Xft2 が採用されており,ブラウザなどの表示でアンチエイリアスが掛けられるようになりました. * truetypeフォントのインストール [#h21be59c] フォントを ./fonts に <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "/etc/fonts/fonts.dtd"> <fontconfig> <match target="font"> <test name="pixelsize" compare="less_eq"> <double>18</double> </test> <test name="family" compare="eq"> <string>Kochi Mincho</string> <string>Kochi Gothic</string> <string>MS Mincho</string> <string>MS Gothic</string> <string>MS PMincho</string> <string>MS PGothic</string> <string>MS UI Gothic</string> </test> <edit name="embeddedbitmap" mode="assign"> <bool>true</bool> </edit> <edit name="antialias" mode="assign"> <bool>false</bool> </edit> </match> </fontconfig>