Page 1 of 1

how to improve font rendering

PostPosted: 14 May 2014, 19:25
by MarcoLinux
to improve the fonts:

Code: Select all
dpkg-reconfigure fontconfig-config

In the dialog choose these options; Autohinter, Automatic and No
Code: Select all
dpkg-reconfigure fontconfig

Re: how to improve font rendering

PostPosted: 23 Jul 2014, 10:57
by tepz
Another way is to create a file ~/.fonts.conf and paste this in it:

Code: Select all
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="autohint" >
   <bool>true</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>none</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintnone</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>


Then restart X (e.g. log out and log back in).

I tried it and it works on Point Linux and vastly improves how the fonts look. I believe you can also set it globally via /etc/fonts/local.conf.

Point Linux is very nice though out of the box font rendering seems a bit of a sore spot right now, first thing I noticed on the screenshots. I'm not sure where we can post suggestions but it would be very nice to see this by default in the next PL release, unless of course the devs have good reasons not to make this the default.