Linux/Other Distro

Arch openbox font hinting 조절

smores 2018. 11. 16. 01:46

https://bbs.archlinux.org/viewtopic.php?id=158621


옛버전 우분투 (14.04LTS) 에서도 잘 되는 것을 확인함.




Yo have to edit ( or create ) two files, '~/.Xdefaults' and '~/.config/fontconfig/fonts.conf'


~/.Xdefaults


Xft.autohint: 0

Xft.antialias: 1

Xft.hinting: true

Xft.hintstyle: hintslight

Xft.dpi: 96

Xft.rgba: rgb

Xft.lcdfilter: lcddefault

and


~/.config/fontconfig/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>hintslight</const>

  </edit>


  <edit mode="assign" name="antialias">

   <bool>true</bool>

  </edit>


  <edit mode="assign" name="lcdfilter">

    <const>lcddefault</const>

  </edit>

 

 </match>

</fontconfig>

Let me know if it works for you.

Best regards.

'Linux > Other Distro' 카테고리의 다른 글

MX Linux 18.3  (0) 2019.08.12
Manjaro 18.0.4 XFCE  (0) 2019.08.06
Arch Linux GUI  (0) 2018.10.26
linapple 설치 방법  (0) 2018.10.08
Arch Linux - yaourt 설치 및 사용법  (0) 2018.10.08