You are not logged in.

#1 2024-05-03 14:32:20

Charly La Celle
Member
Registered: 2021-10-19
Posts: 16

Monospaced font defaulting to the wrong type

Hi,

I installed ttf-andika from the AUR, and now many programs are defaulting to andika font as a monospaced font, which is not.

fc-match monospace
Andika-Regular.ttf: "Andika" "Regular"

My window manager is openbox. This is a custom install.

Removing the package didn't help.

Offline

#2 2024-05-03 14:55:33

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,878

Re: Monospaced font defaulting to the wrong type

https://aur.archlinux.org/cgit/aur.git/ … ttf-andika doesn't suggest it's installing any kind of font config and since

Removing the package didn't help.

you likely added such config yourself?

(fc-list :mono; fc-list :spacing=100) | grep -i andika
fc-conflist

https://wiki.archlinux.org/title/Font_c … dard_names

Offline

#3 2024-05-03 15:47:55

Charly La Celle
Member
Registered: 2021-10-19
Posts: 16

Re: Monospaced font defaulting to the wrong type

Since then I installed more fonts (ttf-noto-extra) and this behaves well again.
andika don't show at your grep.

Maybe the fontconfig didn't work well after andika.

I saw in

/var/log/pacman.log 
...
[2024-05-03T16:55:18+0200] [ALPM] running 'fontconfig.hook'...
[2024-05-03T16:55:18+0200] [ALPM] running 'fontconfig-32.hook'...

Thanks for showing me

fc-conflist

I wasn't aware of. That's a lot of rules !

Offline

#4 2024-05-03 15:54:20

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,878

Re: Monospaced font defaulting to the wrong type

Maybe the fontconfig didn't work well after andika.

andika is (maybe because no longer installed) not detected as monospace font.

this behaves well again

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

If you decide to re-install andika you could re-check whether it's listed as monospace font.

Offline

Board footer

Powered by FluxBB