<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.manjaro.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Moson</id>
	<title>Manjaro - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.manjaro.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Moson"/>
	<link rel="alternate" type="text/html" href="https://wiki.manjaro.org/index.php/Special:Contributions/Moson"/>
	<updated>2026-04-08T20:08:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.manjaro.org/index.php?title=Improve_Font_Rendering&amp;diff=22354</id>
		<title>Improve Font Rendering</title>
		<link rel="alternate" type="text/html" href="https://wiki.manjaro.org/index.php?title=Improve_Font_Rendering&amp;diff=22354"/>
		<updated>2021-04-23T19:31:53Z</updated>

		<summary type="html">&lt;p&gt;Moson: Changed path - conf.avail&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
===How to improve font rendering with your installed fonts===&lt;br /&gt;
&lt;br /&gt;
A little configuration maybe required to render the fonts in an optimal manner. Follow the steps illustrated below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''1. Create the file /etc/fonts/local.conf''&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/fonts/local.conf&lt;br /&gt;
&lt;br /&gt;
Paste the following content in the file&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;match target=&amp;quot;font&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;edit name=&amp;quot;autohint&amp;quot; mode=&amp;quot;assign&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;bool&amp;gt;false&amp;lt;/bool&amp;gt;&lt;br /&gt;
   &amp;lt;/edit&amp;gt;&lt;br /&gt;
   &amp;lt;edit name=&amp;quot;hinting&amp;quot; mode=&amp;quot;assign&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;bool&amp;gt;true&amp;lt;/bool&amp;gt;&lt;br /&gt;
   &amp;lt;/edit&amp;gt;&lt;br /&gt;
   &amp;lt;edit name=&amp;quot;antialias&amp;quot; mode=&amp;quot;assign&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;bool&amp;gt;true&amp;lt;/bool&amp;gt;&lt;br /&gt;
   &amp;lt;/edit&amp;gt;&lt;br /&gt;
   &amp;lt;edit mode=&amp;quot;assign&amp;quot; name=&amp;quot;hintstyle&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;const&amp;gt;hintslight&amp;lt;/const&amp;gt;&lt;br /&gt;
   &amp;lt;/edit&amp;gt;&lt;br /&gt;
   &amp;lt;edit mode=&amp;quot;assign&amp;quot; name=&amp;quot;rgba&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;const&amp;gt;rgb&amp;lt;/const&amp;gt;&lt;br /&gt;
   &amp;lt;/edit&amp;gt;&lt;br /&gt;
   &amp;lt;edit mode=&amp;quot;assign&amp;quot; name=&amp;quot;lcdfilter&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;const&amp;gt;lcddefault&amp;lt;/const&amp;gt;&lt;br /&gt;
   &amp;lt;/edit&amp;gt;&lt;br /&gt;
 &amp;lt;/match&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After that save the file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''2. Create backup of ~/.Xresources file:''&lt;br /&gt;
 cp ~/.Xresources ~/.Xresources.bak&lt;br /&gt;
&lt;br /&gt;
If the .Xresources file has not been already created and you get the error&lt;br /&gt;
&lt;br /&gt;
'''''&amp;quot;cp: cannot stat ‘~/.Xresources’: No such file or directory&amp;quot;''''', then skip to step No. 3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''3. Open/Create ~/.Xresources file in text editor:''&lt;br /&gt;
 nano ~/.Xresources&lt;br /&gt;
&lt;br /&gt;
If the following is not already present, paste at the end of the file or edit existing values:&lt;br /&gt;
&lt;br /&gt;
 Xft.dpi: 96&lt;br /&gt;
 Xft.antialias: true&lt;br /&gt;
 Xft.hinting: true&lt;br /&gt;
 Xft.rgba: rgb&lt;br /&gt;
 Xft.autohint: false&lt;br /&gt;
 Xft.hintstyle: hintslight&lt;br /&gt;
 Xft.lcdfilter: lcddefault&lt;br /&gt;
&lt;br /&gt;
Save changes to the file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''4. Run the following command in terminal:''&lt;br /&gt;
 xrdb -merge ~/.Xresources&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''5. Make sure that ''Anti aliasing is '''On''', Hinting is set to '''Slight'''''  and RGBA (subpixel) order is set to '''rgb''' in System Settings (Appearence).''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''6. Create symbolic links with some available presets from /usr/share/fontconfig/conf.avail/ to /etc/fonts/conf.d/''&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s  /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d/&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s  /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''7. Set truetype interpreter version to infinality mode (optional)''&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/profile.d/freetype2.sh&lt;br /&gt;
&lt;br /&gt;
Edit content of the file to reflect setting below&lt;br /&gt;
&lt;br /&gt;
 # Subpixel hinting mode can be chosen by setting the right TrueType interpreter&lt;br /&gt;
 # version. The available settings are:&lt;br /&gt;
 #&lt;br /&gt;
 # truetype:interpreter-version=35 # Classic mode (default in 2.6)&lt;br /&gt;
 # truetype:interpreter-version=38 # Infinality mode&lt;br /&gt;
 # truetype:interpreter-version=40 # Minimal mode (default in 2.7)&lt;br /&gt;
 #&lt;br /&gt;
 # There are more properties that can be set, separated by whitespace. Please&lt;br /&gt;
 # refer to the FreeType documentation for details.&lt;br /&gt;
 &lt;br /&gt;
 # Uncomment and configure below&lt;br /&gt;
 &lt;br /&gt;
 export FREETYPE_PROPERTIES=&amp;quot;truetype:interpreter-version=38&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''8. Finally reboot your computer to apply the settings.''&lt;br /&gt;
&lt;br /&gt;
=See Also=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://wiki.archlinux.org/index.php/Font_Configuration The Arch Wiki]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Contents Page]]&lt;/div&gt;</summary>
		<author><name>Moson</name></author>
	</entry>
</feed>