ArchLinux / LXDEでフォントレンダリングを正しく設定する方法は?

ArchLinux / LXDEでフォントレンダリングを正しく設定する方法は?

私はArchLinuxとLXDEをインストールしましたが、すべてがうまく機能しますが、フォントレンダリングは最適ではありません。読書フォント構成に関するWiki外部情報ソースを使用して、次のように設定しました。/etc/fonts/fonts.conf文書

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="font">
     <edit mode="assign" name="rgba">
       <const>rgb</const>
     </edit>
     <edit mode="assign" name="hinting">
       <bool>true</bool>
     </edit>
     <edit mode="assign" name="hintstyle">
       <const>hintfull</const>
     </edit>
     <edit mode="assign" name="antialias">
       <bool>true</bool>
     </edit>
     <edit mode="assign" name="lcdfilter">
       <const>lcddefault</const>
     </edit> 
  </match>
</fontconfig>

それでもフォントレンダリングは最適ではありません。 ここに画像の説明を入力してください。

私は何を見逃していますか?

ベストアンサー1

解決策が見つかりました。 Xフォントファイルのインデックスが作成されていません。

/var/log/Xorg.0.logログファイルよりもこの事実を発見しました。

$ grep /fonts /var/log/Xorg.0.log.old

[    13.492] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    13.493] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    13.493]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    13.493] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    13.494]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/

それから走り続け、mkfontdir問題/usr/share/fonts/75dpi/usr/share/fonts/100dpi解決しました。

おすすめ記事