I updated to fedora 22 last days and under most desktops ( kde/gnome/gnome3 ) all terminals have a very very ugly font setting. It is nearly impossible to use some text base editors in this terminals because of the poor rendering of the fonts.
I read a lot of configuring fonts but nothing seems to happen.
As a first: Yes, I know that the complete directory structure has changed for fontconfig. And yes, I did not get any results if I place some config files elsewhere.
Is there any hint which content I can place in which directory to get the rendering for terminal applications off? And maybe, which steps must be done to get the fonts updated. I know that fc-cache must be called in earlier times, but now?
And yes, I read the stuff written here on this topic, but this all seems outdated because of the changed directory structure.
What I did:
In: /etc/fonts/fonts.conf I found
<!-- the following element will be removed in the future -->
<dir>~/.fonts</dir>
So I tried to place a file in: ~/.fonts/fonts.conf
The content is:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- turn off antialiasing -->
<match target="font">
<edit name="antialias" mode="assign"> <bool>false</bool></edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>false</bool>
</edit>
</match>
</fontconfig>
After that I run:
fc-cache
And I used strace to look for the reading of my file. I only catch this line:
stat("/home/krud/.fonts/fonts.conf", {st_mode=S_IFREG|0664, st_size=177, ...}) = 0
Then I looked for other directories:
access("/home/krud/.config/fontconfig/fonts.conf", R_OK) = 0
But in a short: I can not see any result in any application! ( firefox/gnome-terminal)
EDIT:
I also used font-tweaks-tool from gnome and I selected the font in the tweaks tool. Also no change! It seems that there are a parallel world on my system?
Update:
I looked for freetype-freeworld and it was already installed. All fonts are rendered with RGB-antialiasing which is looks terrible for my eyes. So I tried to remove freetype-freeworld. After that, I can select grayscale for antialiasing and also can modify the settings for hinting with the gnome-tweak-tool. Now my terminal font is acceptable and the fonts for e.g. firefox and other apps are readable enough. As a result the installation of freetype-freeworld was the reason that I couldn't change the settings for the fonts. I could not discover what is the reason behind that problem, but I can work now :-) It is interesting that some people like freetype-freeworld and someone write it is giving poor results.
My setup is now: Anti-Aliasing "grayscale" with hinting "full". In hope that others find it helpful...
If someone is able to give a full picture which config files, tools, renderer and so on are working on actual linux desktops it would be great to get this knowledge somewhere!