Difference between revisions of "Improve Font Rendering"
From Manjaro
Views
Actions
Namespaces
Variants
Tools
imported>Aaditya |
imported>Aaditya |
||
Line 1: | Line 1: | ||
===How to improve font rendering with your installed fonts=== | ===How to improve font rendering with your installed fonts=== | ||
(Courtesy FadeMind's Forum post [http://forum.manjaro.org/index.php?topic=6879.msg62703#msg62703 here]) | (Courtesy FadeMind's Forum post [http://forum.manjaro.org/index.php?topic=6879.msg62703#msg62703 here], and the Arch Wiki [https://wiki.archlinux.org/index.php/Font_Configuration#Example_fontconfig_configurations here] ) | ||
''Note-This method works on a per-user basis'' | ''Note-This method works on a per-user basis'' | ||
Line 20: | Line 20: | ||
<const>hintslight</const> | <const>hintslight</const> | ||
</edit> | </edit> | ||
<edit mode="assign" name="lcdfilter"> | |||
<const>lcddefault</const> | |||
</edit> | |||
</match> | </match> | ||
Line 36: | Line 39: | ||
Xft.dpi: 96 | Xft.dpi: 96 | ||
Xft.antialias: true | Xft.antialias: true | ||
Xft.lcdfilter: lcddefault | |||
Xft.rgba: rgb | Xft.rgba: rgb | ||
Xft.hinting: true | Xft.hinting: true |
Revision as of 12:57, 2 October 2013
How to improve font rendering with your installed fonts
(Courtesy FadeMind's Forum post here, and the Arch Wiki here )
Note-This method works on a per-user basis
1. Create a file
gedit .fonts.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.
Support
Following is a link to this page's forum counterpart where you can post any related feedback: [1]