LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Making fonts nice in Arch Linux (https://www.linuxquestions.org/questions/arch-29/making-fonts-nice-in-arch-linux-900579/)

kasl33 09-01-2011 12:30 PM

Making fonts nice in Arch Linux
 
I have seen many people asking how to make the fonts nice in Arch. I have stumbled accross a few methods, this one being the best. Take the following "code" and paste it into a file named .fonts.conf:

Code:

<?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" >
    <edit mode="assign" name="hinting" >
      <bool>true</bool>
    </edit>
  </match>
  <match target="font" >
    <edit mode="assign" name="hintstyle" >
      <const>hintslight</const>
    </edit>
  </match>
  <match target="font" >
    <edit mode="assign" name="antialias" >
      <bool>true</bool>
    </edit>
  </match>
  <match target="font">
    <edit mode="assign" name="lcdfilter">
      <const>lcddefault</const>
    </edit>
  </match>
</fontconfig>

Put .fonts.conf in your home directory - so the path is /home/YourUserName/.fonts.conf

EricTRA 09-09-2011 12:41 AM

Hi,

Thank you for sharing your solution. Off the Zero Reply List.

Kind regards,

Eric


All times are GMT -5. The time now is 12:00 AM.