When started gnome desktop in Assamese language and used fc-match output is lohit_bn.ttf: "Lohit Bengali" "Regular" When started gnome desktop in Bengali language and used fc-match output is lohit_bn.ttf: "Lohit Bengali" "Regular" This is same for other similar script based languages like for Devanagari script Hindi, Marathi, Maithili, Output on Fedora 11, using fontconfig-2.7.1-1.fc11 for Devanagari based languages is same LANG=hi_IN.UTF-8 fc-match lohit_hi.ttf: "Lohit Hindi" "Regular" LANG=mai_IN.UTF-8 fc-match lohit_hi.ttf: "Lohit Hindi" "Regular" LANG=mr_IN.UTF-8 fc-match lohit_hi.ttf: "Lohit Hindi" "Regular" LANG=kok_IN.UTF-8 fc-match lohit_hi.ttf: "Lohit Hindi" "Regular" LANG=ne_NP.UTF-8 fc-match lohit_hi.ttf: "Lohit Hindi" "Regular" LANG=ks_IN.UTF-8 fc-match 10x20.pcf: "MiscFixed" "Regular" We have now separate fonts now in lohit-fonts package for each of the above Indic language.
Does your font package also install fontconfig rules to prefer different fonts for different languages? That's where the preference comes from. You may want to review Fedora font packaging guidelines for that.
I have created 2 fontconfig rule files. http://paragn.fedorapeople.org/66-lohit-hindi.conf http://paragn.fedorapeople.org/66-lohit-marathi.conf Installed them at /usr/share/fontconfig/conf.avail with link to /etc/fonts/conf.d Removed font name entries from /etc/fonts/conf.d/65-nonlatin.conf. (I don't know what is use of this file and why only few font names are written there) and tried to run LANG=mr_IN.UTF-8 fc-match and I got lohit_hi.ttf: "Lohit Hindi" "Regular" where should I look to fix above problem?
I suggest asking the fedora fonts list. Sorry, busy with other stuff right now, can't go debug your config files for you.
This sounds like a dup of the other bug. Should be fixed now. The rest is not a fontconfig bug.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.