You are not logged in.

#1 2025-12-03 06:15:49

avidseeker
Member
Registered: 2022-09-06
Posts: 68
Website

fontconfig: font preference except for unicode range

I'm trying to use fontconfig to prefer fontA over fontB

Now the typical way to do that is with the xml alias, family, prefer tags

How can I prefer fontA over fontB except for a specific unicode range where fontB should be preferred         

I was looking for examples in https://wiki.archlinux.org/title/Font_c … n/Examples but none seemed related to my desired config.

Offline

#2 2025-12-03 09:49:12

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

Re: fontconfig: font preference except for unicode range

You can "remove" charsets from fonts, https://unix.stackexchange.com/question … ific-glyph ?

Online

#3 2025-12-03 11:31:05

Virus1x
Banned
Registered: 2025-12-03
Posts: 12

Re: fontconfig: font preference except for unicode range

To tweak fonts for specific character sets, mess with the `<match>` rules and `</match>family&gt;` in fonts.conf. Just be careful, so you don't screw up the standard settings.

Offline

Board footer

Powered by FluxBB