You are not logged in.
Pages: 1
Hello
I'd appreciate some pointers on what priority fontconfig gives to different configuration files.
This stemmed from finding poor rendering from Okular which it turns out was rendering Arial as Hack. fc-match arial told me hack was the fontconfig 'choice'. I subsequently edited ~/.config/fontconig/fonts.conf to alias it to noto sans and all good.
However, I am unclear as to where /etc/fonts/fonts.conf and /etc/fonts/conf.d/ come into play, as it appears there's a file there (30-metric-aliases) with plenty of good aliases for the MS fonts. What reason might it be that these are not used?
Thanks for any help.
Offline
The stuff in your home gets loaded through a file named "/etc/fonts/conf.d/50-user.conf". That's what's determining how your files get sorted into the rest of the files of the system.
I have no idea how you ended up with Arial = Hack. Maybe there isn't a file that set exactly that Arial = Hack relationship, maybe it's instead happening in a round-about way through the "sans-serif" name relationships?
You do not have the Arial font installed, right? What can then happen is something like this:
(1) Arial = sans-serif
(2) sans-serif = Hack
(3) Arial = Hack
Offline
Thank you Ropid, that is very helpful.
Offline
Pages: 1