Bug 2350320
| Summary: | [hi] lohit-devanagari selected as monospace fonts with langpacks-hi | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Twinkle <tpardesh> |
| Component: | google-noto-fonts | Assignee: | Akira TAGOH <tagoh> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 43 | CC: | ajax, fonts-bugs, gnome-sig, i18n-bugs, mclasen, petersen, pwu, rstrode, sshil, tagoh |
| Target Milestone: | --- | Keywords: | Desktop |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-07-11 09:44:07 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Twinkle
2025-03-06 13:01:13 UTC
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 |