Hi,
We seem to be lacking space in the priority prefixes for fontconfig .conf files for non-LGC fonts (aka nonlatin); maybe others too?
http://fedoraproject.org/wiki/Fontconfig_packaging_tips#Choosing_a_ruleset_n...
/usr/share/fontconfig/templates/fontconfig-priorities.txt
in that upstream's 65-nonlatin.conf is at the front of the 65-69 block.
This seems to largely make it impossible to override "nonlatin" fonts sometimes in fedora.
While we would like to address this upstream with restructuring the space is there something we can do now in fedora for this for f13?
We need a fix before beta if we want to stop wqy-zenhei from overriding vlgothic for Japanese.
Thoughts, comments?
Jens
ps Overall 50-69 seems quite a narrow space for the range of fonts we have on hand now.
Le lundi 15 février 2010 à 02:44 -0500, Jens Petersen a écrit :
This seems to largely make it impossible to override "nonlatin" fonts sometimes in fedora.
OTOH, this also make it very hard for a CJK font to mess with latin font. I'm pretty sure this is the main reason latin and non-latin were separated in upstream fontconfig. So, while I agree the current situation is a dead-end, lifting constrains and hoping for people to deal with it is likely to result in more problems. Someone needs to write new sanity rules that can replace the current ones (hopefully, for more than a few years)
ps Overall 50-69 seems quite a narrow space for the range of fonts we have on hand now.
From the few experiments I made, fontconfig does not actually sort on the two first digits. It sorts on the full filename. So 65-0-foo will probably sort before 65-nonlatin.conf