You are not logged in.

#1 2015-08-31 11:23:08

damjan
Member
Registered: 2006-05-30
Posts: 462

disabling /etc/fonts/conf.d/30-metric-aliases.conf

the symlink is automatically installed by the fontconfig package, which makes most fonts on websites to be rendered by "Red Hats Liberation" fonts (github, reddit at least).
I much prefer to look at DejaVu fonts, and if I remove that symlink all is fine, but since the symlink is reinstated on package upgades  I wonder what the proper way is to disable it.

Offline

#2 2015-08-31 15:19:18

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: disabling /etc/fonts/conf.d/30-metric-aliases.conf

Hello Damjan,

As the wiki page about Font configuration mentions 'The settings in the per-user configuration have precedence over the global configuration',
you could try to create a link to /dev/null with the same name as 30-metric-aliases.conf:

$ ln -s /dev/null $HOME/.config/fontconfig/conf.d/30-metric-aliases.conf

I have not tested this, so I do not guarantee it will work as expected.

Offline

#3 2015-08-31 20:46:59

damjan
Member
Registered: 2006-05-30
Posts: 462

Re: disabling /etc/fonts/conf.d/30-metric-aliases.conf

Nope, a /dev/null symlink doesn't help

$ fc-match arial
Fontconfig error: "/home/damjan/.config/fontconfig/conf.d/30-metric-aliases.conf", line 1: no element found
LiberationSans-Regular.ttf: "Liberation Sans" "Regular

a valid but empty 30-metric-aliases.conf file also doesn't mask the system file

Offline

#4 2015-09-01 12:12:24

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: disabling /etc/fonts/conf.d/30-metric-aliases.conf

OK then remove the link to /dev/null and copy 30-metric-aliases.conf to $HOME/.config/fontconfig/conf.d
and in the copy change the fonts you don't want with the Dejavu font.

You could also install the ttf-ms-fonts AUR package or some other similar font packages.

Offline

Board footer

Powered by FluxBB