https://bugzilla.redhat.com/show_bug.cgi?id=2350320
Bug ID: 2350320 Summary: lohit-devanagari gets auto installed with langpacks-hi Product: Fedora Version: 42 Hardware: x86_64 OS: Linux Status: NEW Component: Fonts Keywords: Desktop Severity: medium Assignee: i18n-bugs@lists.fedoraproject.org Reporter: tpardesh@redhat.com QA Contact: fonts-bugs@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
While using system in Hindi locale, lohit-devanagari gets auto installed in the system 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"
https://bugzilla.redhat.com/show_bug.cgi?id=2350320
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|lohit-devanagari gets auto |[hi] lohit-devanagari |installed with langpacks-hi |selected as monospace fonts | |with langpacks-hi
https://bugzilla.redhat.com/show_bug.cgi?id=2350320
Twinkle tpardesh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Comment|0 |updated
--- Comment #0 has been edited ---
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"
https://bugzilla.redhat.com/show_bug.cgi?id=2350320
Sudip Shil sshil@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sshil@redhat.com
--- Comment #1 from Sudip Shil sshil@redhat.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=2350320
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- QA Contact|fonts-bugs@lists.fedoraproj |extras-qa@fedoraproject.org |ect.org | Assignee|i18n-bugs@lists.fedoraproje |tagoh@redhat.com |ct.org | CC| |ajax@redhat.com, | |fonts-bugs@lists.fedoraproj | |ect.org, | |gnome-sig@lists.fedoraproje | |ct.org, | |i18n-bugs@lists.fedoraproje | |ct.org, mclasen@redhat.com, | |rstrode@redhat.com, | |tagoh@redhat.com Component|Fonts |fontconfig
https://bugzilla.redhat.com/show_bug.cgi?id=2350320
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |petersen@redhat.com, | |pwu@redhat.com Component|fontconfig |google-noto-fonts Version|42 |43
--- Comment #2 from Akira TAGOH tagoh@redhat.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=2350320
Akira TAGOH tagoh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |RAWHIDE Status|NEW |CLOSED Last Closed| |2025-07-11 09:44:07
i18n-bugs@lists.fedoraproject.org