Bug 2296259
| Summary: | fontconfig file is wrong and not working properly | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Akira TAGOH <tagoh> |
| Component: | rit-meera-new-fonts | Assignee: | Rajeesh <rajeeshknambiar> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | gwync, rajeeshknambiar |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rit-meera-new-fonts-1.6.1-0.fc40 rit-meera-new-fonts-1.6.1-0.fc39 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-07-21 01:39:29 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: | |||
Thanks a lot for noticing this issue! I'll get it fixed upstream & update in Fedora ASAP. BTW, did you notice the breakage using any automated tools, or manually? Would help catching similar issues in future. I created common test cases for our fonts packages here: https://src.fedoraproject.org/tests/fonts I'm planning to anounce this shortly though, that may helps to catch up a breakage may happens in the future. FEDORA-2024-a97edf161d (rit-meera-new-fonts-1.6.1-0.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-a97edf161d FEDORA-2024-8aa0ff449e (rit-meera-new-fonts-1.6.1-0.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-8aa0ff449e FEDORA-2024-8aa0ff449e has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8aa0ff449e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8aa0ff449e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-a97edf161d has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-a97edf161d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-a97edf161d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-8aa0ff449e (rit-meera-new-fonts-1.6.1-0.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2024-a97edf161d (rit-meera-new-fonts-1.6.1-0.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. |
Current 65-meera-new-fonts.conf contains: <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd"> <!-- SPDX-License-Identifier: MIT --> <fontconfig> <!-- Generic alias this font to sans-serif --> <alias> <family>Meera New</family> <default> <family>sans-serif</family> </default> </alias> <!-- For Malayalam sans-serif, prefer this font --> <match> <test name="lang" compare="contains"> <string>ml</string> </test> <test name="family"> <string>sans-serif</string> </test> <edit name="family" mode="prepend" binding="strong"> <string>Meera New</string> </edit> </match> </fontconfig> But it looks like upstream changed family name: $ fc-query -f "%{family}\n" /usr/share/fonts/rit-meera-new-fonts/RIT-MeeraNew.otf RIT Meera New So even if rit-meera-new-fonts has a higher priority number in config more than google-noto-sans-malayalam(-vf)-fonts, the default fonts is being taken over by it when they are installed. Reproducible: Always Steps to Reproduce: 1.install both rit-meera-new-fonts and google-noto-sans-malalayam-vf-fonts 2.fc-match sans:lang=ml 3. Actual Results: Noto Sans Malayalam will be picked up Expected Results: RIT Meera New should be. config file contains old family name of "Meera New". it should be replaced by "RIT Meera New". I'm not sure when it happened. we may need a backport for stable releases perhaps.