ok, I did not see that in addition to the Fonts page a Fontconfig page exists (and that fontconfig itself exists and what its purpose is).
I was digging around in the package contents and found the config snippets and noticed how they are linked to be enabled, then went to the official fontconfig homepage to get an idea what it does, then found the Archwiki page about fonts (
https://wiki.archlinux.org/title/font_configuration) that explains some of the more unclear xml snippets (they usually don't contain information about what they are for, though some have quite interesting comments).
In the end I guess I have to try all the options, e.g. the sub-pixel related things. They are all disabled by default, but probably everyone has some sort of LCD.
I have some files with Japanese characters in the filename and after installing and enabling the noto-cjk font (which took quite some time to download) I saw that it was immediately used and the tofu characters were gone. So I see what fontconfig does.
One question I have now is that a couple of packages require font packages that are not enabled. For example, media-fonts/urw-fonts is required by app-text/ghostscript-gpl, but the fonts are unused:
Code: Select all
[40] 61-urw-bookman.conf
[41] 61-urw-c059.conf
[42] 61-urw-d050000l.conf
[43] 61-urw-fallback-backwards.conf
[44] 61-urw-fallback-generics.conf
[45] 61-urw-fallback-specifics.conf
[46] 61-urw-gothic.conf
[47] 61-urw-nimbus-mono-ps.conf
[48] 61-urw-nimbus-roman.conf
[49] 61-urw-nimbus-sans.conf
[50] 61-urw-p052.conf
[51] 61-urw-standard-symbols-ps.conf
[52] 61-urw-z003.conf
Same with the dejavu fonts, except they are required by cups, vlc, pygments, fontconfig and libXft.
So, is this junk I don't really need? I can't decide what these fonts are for - I mean I googled around and found the URW wikipedia entry and saw they create fonts, the whole history, but it tells me nothing practical. Googling further, e.g. about URW Gothic I see a description like
"URW Gothic L is a version of ITC Avant Garde Gothic with identical metrics, intended for use as a replacement in the PostScript Base 35 fonts for the Ghostscript program. The font has since been released under free and open source terms."
And from here I guess I am supposed to google what PostScript Base 35 is and so on and so on, only understand that it is
some font that is still not used by the system but installed anyways.
Now in the Fontconfig wiki page I see a small list of recommendations - but in the end I guess there is no comparison for the use-cases, included fonts and their role, history, license etc, right?
To decide between liberation and croscore I found this reddit page:
https://www.reddit.com/r/typography/com ... ore_fonts/, so I guess I should drop liberation fonts as croscore contains further development (also Liberation does not include a lot of fonts, e.g. no Calibri style font). But in addition there is noto ...
And there was a similar discussion on reddit 10 years ago:
https://www.reddit.com/r/archlinux/comm ... rage_with/
That also brought up the thought that some webpages include fonts like open-sans that my browser probably would download all the time because I don't have this font on my system...
I don't know where to stop, I don't know where to start, I don't get structure in this mess, everywhere is just a cluster of
stuff.
Also one thing: TTF vs OTF - I checked that as well and saw that OTF is a further development, but it looks like only LaTeX uses OTF and the rest of the system uses TTF. Kind of weird that after 20 years almost nobody uses it on IT systems.
Also also: I found that fontforge USE-flag on liberation-fonts, dejavu and freetype, checked what it does... if I understand correctly setting that "compiles the font from its source code", to use an analogy, instead of using the "already compiled" font. Why would someone want to do that even, the font has a certain definition, so the result is the result is the result, right?
That whole fonts topic blows my mind.