[Momonga-devel.ja:02613] fontsconfigの設定ファイル
- From: Yoshiyuki Doi <yoshi@xxxxxxxxxxxxxxx>
- Date: Mon, 05 Jul 2004 09:01:48 -1000
初めての投稿です、皆様宜しくお願いします。
fontconfigパッケージですが、fontconfig-2.2.1-6mから~/.fonts.confに
書いたアンチエイリアス周り設定内容が反映されなくなってしまった様で
す。5mと 6m以降の違いを調べたところ/etc/fonts/fonts.confに以下の変
更がありました。変更分を削除したところ現在正常に設定内容が反映され
ています。詳細は良く判りませんので、御報告まで。
------------------------------------------------------------------
~/.fonts.conf の内容
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>
<match target="font" >
<test compare="more" name="size" qual="any" >
<double>4</double>
</test>
<test compare="less" name="size" qual="any" >
さざ <double>16</double>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>
<match target="font" >
<test compare="more" name="pixelsize" qual="any" >
<double>5</double>
</test>
<test compare="less" name="pixelsize" qual="any" >
<double>21</double>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>
</fontconfig>
---------------------------------------------------------------
/etc/fonts/fonts.conf から削除した内容 (7m)
389行目から
Anti alias setting
-->
<match target="font" >
gn" name="rh_prefer_bitmaps" >
/bool>
</match>
<match target="font" >
gn" name="antialias" >
/bool>
</match>
<config>
<!--
These are the default Unicode chars that are expected to be
blank in fonts. All other blank chars are assumed to be
broken and won't appear in the resulting charsets
-->
------------------------------------------------------------------
466行目
<config>
(466行目を削除しないとgdmや一部システムフォントが指定通りにならない
様です)
------------------------------------------------------------------
A hui hou,
Yoshi Doi