Skip to content

Adjust the rendering of fonts on ArchLinux

My series of texts about ArchLinux continues, this time I come with one that falls into the category of post-installation. After a successful installation of the system, the graphical environment as described in previous postit is possible that the appearance of the fonts will not be the best for you. What it is about? It happens that additional font configuration is needed so that they do not look worn out, pixelated and in the mildest form illegible. You will find out the details in the text that follows.

Arch Linux

With some other distributions (which come with a graphical installer, etc., such as Fedora or Ubuntu), this does not need to be done, because everything is already configured and ready for the end user. This is not the case here, because it is not the "Arch way". The user himself takes care of the system, so you have to do a little research on this subject in order to find a satisfactory configuration.

The essence of this setting is as follows:

  • Install the fonts you want to use;
  • Create a few symbolic links;
  • Enable minimum mode in the script

It's that simple in fact! The first step requires you to download and install the fonts you want to use. There are a lot of them and the tastes are certainly different in this regard. At first I used DejaVu fonts, but I switched to Noto. They fit really well into the system and look nice, simply said they get the job done.

The second step is a little "harder". Requires the creation of symbolic links to allow additional settings for displaying fonts. In my case, this finished the job:

Needed sim-links:

ln -s /usr/share/fontconfig/conf.avail/10-hinting-slight.conf
ln -s /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf
ln -s /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf

It may happen that some of these links are already present, so just go to the next symbolic link.

The third and final step is to enable one setting in the file located in the path: /etc/profile.d/ That is, enabling a "minimum" mode. In practice it looks like this (remove # in front of this line):


Where NN=40 is the code for the minimum mode.. In some tutorials, they also recommend the value 38, but since this is an outdated configuration, I personally do not recommend it (also official wiki says the same).

After this setting, the fonts display should be much better, so looking at the monitor will not be a problem. By the way, I forgot to mention that i use a 27-inch full HD monitor. On monitors of different resolution and size, there may be no need for such an intervention.

Powered by TranslatePress »