OK, after much experimentation, and trial and error, I’ve come to the conclusion that like many things in life simple is best, or as musicians say in the States, KISS (keep it simple stupid). Everything needed for great looking fonts is already supplied with Manjaro and only requires minor tweaking. There is no need for any external scripts, just a few modifications of those included.
So now that we got that out of the way here is my really simple tutorial to get great looking fonts in Manjaro. It’s really easy to achieve by changing the symbolic links between /etc/fonts/conf.avail and /etc/fonts/conf.d. Conf.d is read by fontconfig to change the defaults for how fonts are rendered and conf.avail contains scripts with the available choices for modifying that behavior. So here are the easy steps to take.
Properly adjust sub-pixel rendering. If you are viewing from an LCD screen then chances are it uses rgb sub-pixel rendering, but this isn’t always the case. You want this to be accurate before proceeding further. Delete the symlink to 10-sub-pixel-** then go to this site and check what is truly correct for your monitor http://www.lagom.nl/lcd-test/subpixel.php Once determined what subpixel layout is correct then create the proper symlink.
Delete the symlink to lcdfilter. and look at this page to see which type of lcd filtering you prefer for your monitor. http://www.spasche.net/files/lcdfiltering/ once you determine what type looks best for you, then create a symlink for the correct lcdfiltering target.
Use these pages on the Arch forums for reference https://wiki.archlinux.org/index.php/Font_configuration https://wiki.archlinux.org/index.php/Font_configuration/Examples @joined the file you create in /etc/fonts/conf.d/ works, but I would edit it and put it in a different location. I would change where it mentions “assign” and replace with “append” the reason being append allows for a script like I suggested in my last post to be customized by the user if they like. With “assign” some apps only see this then don’t allow for further tweaking later.
I found I didn’t need your file, that the default settings worked well if I only modified 60-latin.conf to place my preferred fonts at the top of each list of fonts there. For example, if I place Times New Roman at the top of the serif family list, it becomes the preferred serif font for firefox, or if I place Consolas at the top of the monospace family list it becomes the default monospace font. Edit that file to taste.
Any major alterations that you want to effect all users should really be placed in /etc/fonts/local.conf, again using “append” not “assign” then personal adjustments using “assign” can be placed in ~.config/fontconfig/fonts.conf It’s possible to have individual adjustments for each font. But I’ve fond that I’m happy with using Windows 10 cleartype fonts, and my favorite free Google fonts with a basic fonts.conf file similar to what was created by @joined. More complicated doesn’t really work better. For me simple works best.
I’m using Arial as my default sans font with Noto Sans as a backup. Times New Roman with Noto-Serif as a backup serif. Consolas with Noto Mono as a backup, Impact as a fantasy font, and Comic Sans as my cursive font. All of these adjustments were made in 60-latin.conf. Remember these are Windows 10 versions of these fonts. Older versions don’t seem to render as well, and I prefer the Google fonts (Noto, Droid, Open Sans, Roboto) to older versions of the Microsoft fonts.
Hope that helps. And thanks for all of your efforts.