未確認
システムフォントのディレクトリ設定そのディレクトリを再帰的にたどる
# emacs /etc/fonts/fonts.conf
<!-- Font directory list -->
<dir>/usr/share/fonts</dir>
<dir>/usr/share/X11/fonts/Type1</dir>
<dir>/usr/share/X11/fonts/TTF</dir>
<dir>/usr/local/share/fonts</dir>
<dir>~/.fonts</dir>
<!--
省略
ユーザーフォントのディレクトリ設定にフォントを入れる
/home/user/.Fontmatrix/Activated
または
$ mkdir /home/user/.fonts
~/.fonts
Xft2ローカルな設定は
/etc/fonts/local.conf
Fedoraのシステム設定
pixelsize が 14pixel 以下
埋めこみビットマップフォントを利用
アンチエイリアスを無効
# emacs /etc/fonts/local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM
"fonts.dtd">
<fontconfig>
<match target="font">
<test name="pixelsize" compare="less_eq">
<double>14</double>
</test>
<test name="family" compare="eq">
<string>Andale Sans UI</string>
<string>Times New Roman WT J</string>
<string>Bitstream CyberCJK</string>
<string>IPAPGothic</string>
<string>IPAPMincho</string>
<string>IPAGothic</string>
<string>IPAMincho</string>
<string>IPAexGothic</string>
<string>IPAexMincho</string>
<string>VL PGothic</string>
<string>Sazanami Gothic</string>
<string>Sazanami Mincho</string>
</test>
<edit name="embeddedbitmap" mode="assign">
<bool>true</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>
または
Fedoraのユーザーローカルな設定?
$ cd /home/user/
$ enacs .fonts.conf
追加記入?
conf.d/README
Each file in this directory is a
fontconfig configuration file. Fontconfig
scans this directory, loading all
files of the form [0-9][0-9]*.conf.
These files are normally installed in
../conf.avail and then symlinked here,
allowing them to be easily installed
and then enabled/disabled by adjusting
the symlinks.
The files are loaded in numeric order,
the structure of the configuration
has led to the following conventions
in usage:
Files begining
with: Contain:
00 through 09
Font directories
10 through 19
system rendering defaults (AA, etc)
20 through 29
font rendering options
30 through 39
family substitution
40 through 49
generic identification, map family->generic
50 through 59
alternate config file loading
60 through 69
generic aliases, map generic->family
70 through 79
select font (adjust which fonts are available)
80 through 89
match target="scan" (modify scanned patterns)
90 through 99
font synthesis
システムフォント
# su
# fc-cache -f -v /usr/share/fonts/javafonts6
フォントがキャシュがされる場所
/var/cache/fontconfig
ユーザーフォント
$ fc-cache -v /home/user/.fonts
フォントがキャシュがされる場所
/home/user/.fontconfig
インストールフォントの確認
# fc-list