Bug 547307
| Summary: | fc-query extracts locale code for some fonts and not for all | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Parag Nemade <pnemade> |
| Component: | fontconfig | Assignee: | Behdad Esfahbod <behdad> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 12 | CC: | behdad, fonts-bugs, i18n-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-12-15 04:10:24 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: | |||
Run fc-query with FC_DEBUG=256 set (or use repo-font-audit) If you see a kok(some_number) fontconfig knowq about the language but the font file is missing some_number glyphs for fontconfig to accept the font for this language. If you don't see kok at all someone needs to propose a kok .orth file for inclusion fontconfig-side kok.orth is already included in fontconfig project. I got output as kok(0). I also observed all Devanagari script based lohit fonts have some_number as 0. May I know what this 0 mean? 0 means fontconfig considers there are no missing glyphs for the associated language, so it should appear in generated rpm metadata (if not that's a strange fontconfig bug) I am sorry for this bug but seems after recreating cache and rebooting machine problem is gone and now
fc-query --format '%{=pkgkit}' /usr/share/fonts/lohit-konkani/Lohit-Konkani.ttf
font(lohitkonkani)
font(:lang=bh)
font(:lang=bho)
font(:lang=hi)
font(:lang=hne)
font(:lang=kok)
font(:lang=mai)
font(:lang=mr)
font(:lang=ne)
font(:lang=sa)
|
Description of problem: fc-query extracts locale code for some fonts and not for all. Version-Release number of selected component (if applicable): fontconfig-2.8.0-1.fc12.x86_64 lohit-konkani-fonts-2.4.3-2.fc12.noarch How reproducible: always Steps to Reproduce: 1. fc-query --format '%{=pkgkit}' /usr/share/fonts/lohit-konkani/Lohit-Konkani.ttf 2. observe one of output lines contains font(lohitkonkani) 3. why not this as font(:lang=kok) Actual results: output as font(lohitkonkani) Expected results: output should be font(:lang=kok) Additional info: