apt-get install defoma fontconfig ttmkfdir cabextract
vi /etc/X11/XF86Config-4
Section "Files"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/local/share/fonts/truetype"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
EndSection
# vi /etc/fonts/fonts.confに追加
<dir>/usr/local/share/fonts</dir>
インストールされているフォント一覧
$> fc-list
フォントインストール先フォルダ作成
mkdir -p /usr/local/share/fonts/truetype/
TTFをそこにコピーする。そして、
#> cd /usr/local/share/fonts/truetype/
#> mkfontscale
#> mkfontdir
vi /etc/X11/XF86Config-4
Section "Files"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/local/share/fonts/truetype"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
EndSection
# vi /etc/fonts/fonts.confに追加
<dir>/usr/local/share/fonts</dir>
インストールされているフォント一覧
$> fc-list
フォントインストール先フォルダ作成
mkdir -p /usr/local/share/fonts/truetype/
TTFをそこにコピーする。そして、
#> cd /usr/local/share/fonts/truetype/
#> mkfontscale
#> mkfontdir