Improve Font Rendering

Revision as of 10:16, 4 October 2013 by imported>Aaditya (→‎Support)

How to improve font rendering with your installed fonts

1. Create the file

sudo gedit /etc/fonts/local.conf

with code:

<match target="font">
  <edit name="autohint" mode="assign">
    <bool>true</bool>
  </edit>
  <edit name="hinting" mode="assign">
    <bool>true</bool>
  </edit>
  <edit mode="assign" name="hintstyle">
    <const>hintslight</const>
  </edit>
  <edit mode="assign" name="lcdfilter">
   <const>lcddefault</const>
 </edit>
</match>

Save changes in the file.


2. Create backup a .Xresources file:

cp .Xresources Xresources.bak


3. Open .Xresources file in text editor.

gedit .Xresources

Delete current content, paste in:

! Xft settings ---------------------------------------------------------------
Xft.dpi:        96
Xft.antialias:  true
Xft.lcdfilter:  lcddefault
Xft.rgba:       rgb
Xft.hinting:    true
Xft.hintstyle:  hintslight

Save changes in the file.


4.Run a command in terminal:

xrdb -merge ~/.Xresources


5.Make sure that antialiasing, hiting is ON in system settings Your Desktop Environment.

Finally reboot your computer to apply the settings.


Install Ubuntu/Infinality Fonts for better rendering

How to install Ubuntu/Infinality fonts in Manjaro Linux - v2.0 by StealthPenguin

Follow the link given.


Support

Following is a link to this page's forum counterpart where you can post any related feedback: [1]

Feedback about StealthPenguin's post about installing Ubuntu/Infinality fonts can be made at his forum post [2].

See Also

The Arch Wiki