While using system in Hindi locale, lohit-devanagari is selected as monospace fonts which results in wrong output of commmand "LANG=hi_IN.utf8 fc-match monospace" Reproducible: Always Steps to Reproduce: 1. Install system in hi_IN locale 2. Open terminal and type "LANG=hi_IN.utf8 fc-match monospace" and press enter Actual Results: 1. Output of the command "LANG=hi_IN.utf8 fc-match monospace" is "lohit-devanagari-Regular" Expected Results: 1. Expected output of the command "LANG=hi_IN.utf8 fc-match monospace" should not be "lohit-devanagari-Regular"
problem lies in this file: /etc/fonts/conf.d/69-nonlatin.conf <alias> <family>monospace</family> <prefer> <family>Lohit Bengali</family> <family>Lohit Gujarati</family> <family>Lohit Hindi</family> <family>Lohit Marathi</family> <family>Lohit Maithili</family> <family>Lohit Kashmiri</family> <family>Lohit Konkani</family> <family>Lohit Nepali</family> <family>Lohit Sindhi</family> <family>Lohit Punjabi</family> <family>Lohit Tamil</family> <family>Lohit Malayalam</family> <family>Lohit Kannada</family> <family>Lohit Telugu</family> <family>Lohit Oriya</family> <family>LKLUG</family> </prefer> </alias> Lohit Devanagari, Lohit Bengali these are not monospace fonts. This configuration forces them as the default monospace font for hindi, bengali and others. and also /etc/fonts/conf.d/66-lohit-*-fonts.conf fonts are not explicitly define monospace, so the main problem remains in 69-nonlatin.conf. solution: removing lohit fonts from the `<family>monospace</family>` section in 69-nonlatin.conf file and instead adding the monospace fonts like Liberation Mono.
This should be fixed in google-noto-fonts-20250701-2.fc43 as a part of https://fedoraproject.org/wiki/Changes/SetDefaultMonospaceFallbackFont: $ fontquery-pkgdiff --loose-comparison -l hi lohit-devanagari-fonts-2.95.5-5.fc43.noarch.rpm * Comparison on rawhide * This may take some time...(1/1) <sys>:0: DeprecationWarning: builtin type swigvarlink has no __module__ attribute * Copying packages... * Installing packages... * This may take some time...(1/1) <sys>:0: DeprecationWarning: builtin type swigvarlink has no __module__ attribute Language default sans default serif default mono - Hindi(hi) Noto Sans Devanagari Noto Serif Devanagari Noto Sans Devanagari + Lohit Devanagari $ fontquery-pkgdiff --loose-comparison -l hi lohit-devanagari-fonts-2.95.5-5.fc43.noarch.rpm google-noto-*20250701-2* * Comparison on rawhide * This may take some time...(1/1) <sys>:0: DeprecationWarning: builtin type swigvarlink has no __module__ attribute * Copying packages... * Installing packages... * This may take some time...(1/1) <sys>:0: DeprecationWarning: builtin type swigvarlink has no __module__ attribute Language default sans default serif default mono Hindi(hi) Noto Sans Devanagari Noto Serif Devanagari Noto Sans Devanagari