Bug 490888
Summary: | All fonts are monospace after upgrade to fontconfig-2.6.99.behdad-3 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Schmidt <mschmidt> |
Component: | fontconfig | Assignee: | Behdad Esfahbod <behdad> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | aalam, behdad, dakingun, fonts-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-03-26 04:27:42 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
Michal Schmidt
2009-03-18 13:11:25 UTC
The rm is there to cleanup earlier naming convention where there was no arch in the file name. So that's not the issue. Did the update also update any font packages? Ok, I understand the bug now. Working on a fix. commit a03e7b11fbe9a4710575f27e8701fcd7fa902844 Author: Behdad Esfahbod <behdad> Date: Wed Mar 18 19:28:52 2009 -0400 [fc-lang] Make LangSet representation in the cache files stable Fontconfig assigns an index number to each language it knows about. The index is used to index a bit in FcLangSet language map. The bit map is stored in the cache. Previously fc-lang simply sorted the list of languages and assigned them an index starting from zero. Net effect is that whenever new orth files were added, all the FcLangSet info in the cache files would become invalid. This was causing weird bugs like this one: https://bugzilla.redhat.com/show_bug.cgi?id=490888 With this commit we fix the index assigned to each language. The index will be based on the order the orth files are passed to fc-lang. As a result all orth files are explicitly listed in Makefile.am now, and new additions should be made to the end of the list. The list is made to reflect the sorted list of orthographies from 2.6.0 released followed by new additions since. This fixes the stability problem. Needless to say, recreating caches is necessary before any new orthography is recognized in existing fonts, but at least the existing caches are still valid and don't cause bugs like the above. Built fontconfig-2.6.99.behdad.20090318-1.fc11 Requesting tag now. (In reply to comment #4) > Built fontconfig-2.6.99.behdad.20090318-1.fc11 WORKSFORME (had similar issue reported with 2.6.99.behdad-3.fc11.x86_64). (In reply to comment #6) > (In reply to comment #4) > > Built fontconfig-2.6.99.behdad.20090318-1.fc11 > > WORKSFORME (had similar issue reported with 2.6.99.behdad-3.fc11.x86_64). Cool. So you had broken fonts, updated, and they were not broken anymore? (In reply to comment #7) > (In reply to comment #6) > > (In reply to comment #4) > > > Built fontconfig-2.6.99.behdad.20090318-1.fc11 > > > > WORKSFORME (had similar issue reported with 2.6.99.behdad-3.fc11.x86_64). > > Cool. So you had broken fonts, updated, and they were not broken anymore? Something close to that. I have other fonts (not included in Fedora anymore) installed and my font preferences set in /etc/fonts/local.conf. But on update to fontconfig-2.6.99.behdad-3.fc11.x86_64, the custom settings doesn't have any effects, and my monospaced fonts revert to stock Fedora's. *** Bug 491604 has been marked as a duplicate of this bug. *** |