Difference between pages "Manjaro FAQ" and "Improve Font Rendering"
Views
Actions
Namespaces
Variants
Tools
imported>Summerer |
imported>Aaditya |
||
Line 1: | Line 1: | ||
=== | ===How to improve font rendering with your installed fonts=== | ||
A little configuration maybe required to render the fonts in an optimal manner. Follow the steps illustrated below. | |||
''1. Create the file /etc/fonts/local.conf'' | |||
sudo gedit /etc/fonts/local.conf | |||
Paste the following content in the file- | |||
= | <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> | |||
After that save the file. | |||
''2. Create backup of .Xresources file:'' | |||
cp .Xresources .Xresources.bak | |||
If the .Xresources file has not been already created and you get the error - | |||
'''''"cp: cannot stat ‘.Xresources’: No such file or directory"''''', then skip to step No. 3. | |||
''3. Open/Create .Xresources file in text editor:'' | |||
gedit .Xresources | |||
Delete current content (if any) and paste in it: | |||
! 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 the following command in terminal:'' | |||
xrdb -merge ~/.Xresources | |||
5.Make sure that ''Anti aliasing is '''On''', and Hiting is set to '''Slight''''' in System Settings (Appearence). | |||
Finally reboot your computer to apply the settings. | |||
= Install Ubuntu/Infinality Fonts for better rendering = | |||
'''[http://forum.manjaro.org/index.php?topic=3459.0 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: [http://forum.manjaro.org/index.php?topic=6879.msg62703#msg62703] | |||
Feedback about StealthPenguin's post about installing Ubuntu/Infinality fonts can be made at his forum post [http://forum.manjaro.org/index.php?topic=3459.0]. | |||
Credit goes to FadeMind for his forum tutorial [http://forum.manjaro.org/index.php?topic=6879.msg62703#msg62703], and to the Arch Wiki's FontConfig Example [https://wiki.archlinux.org/index.php/Font_Configuration#Example_fontconfig_configurations] | |||
=See Also= | =See Also= | ||
[https://wiki.archlinux.org/index.php/Font_Configuration The Arch Wiki] | |||
[[Category:Contents Page]] | [[Category:Contents Page]] |
Revision as of 13:02, 4 December 2013
How to improve font rendering with your installed fonts
A little configuration maybe required to render the fonts in an optimal manner. Follow the steps illustrated below.
1. Create the file /etc/fonts/local.conf
sudo gedit /etc/fonts/local.conf
Paste the following content in the file-
<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>
After that save the file.
2. Create backup of .Xresources file:
cp .Xresources .Xresources.bak
If the .Xresources file has not been already created and you get the error -
"cp: cannot stat ‘.Xresources’: No such file or directory", then skip to step No. 3.
3. Open/Create .Xresources file in text editor:
gedit .Xresources
Delete current content (if any) and paste in it:
! 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 the following command in terminal:
xrdb -merge ~/.Xresources
5.Make sure that Anti aliasing is On, and Hiting is set to Slight in System Settings (Appearence).
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].
Credit goes to FadeMind for his forum tutorial [3], and to the Arch Wiki's FontConfig Example [4]