Bug 529637
| Summary: | [gu_IN]fontconfig suggests "Lohit Gujarati" when requesting a font that supports '1', but Lohit Gujarati doesn't have that glyph | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Caolan McNamara <caolanm> | ||||
| Component: | lohit-gujarati-fonts | Assignee: | Pravin Satpute <psatpute> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 12 | CC: | aalam, behdad, fonts-bugs, i18n-bugs, pnemade, psatpute | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 2.4.4-1.fc12 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 530943 (view as bug list) | Environment: | |||||
| Last Closed: | 2009-12-01 04:32: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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 530943 | ||||||
| Attachments: |
|
||||||
|
Description
Caolan McNamara
2009-10-19 09:20:54 UTC
Created attachment 365219 [details]
demo
Am I missing something obvious here ?
$ fc-match ':lang=gu-IN' --verbose Pattern has 30 elts (size 32) family: "Lohit Gujarati"(s) familylang: "en"(s) style: "Regular"(s) stylelang: "en"(s) fullname: "Lohit Gujarati"(s) fullnamelang: "en"(s) slant: 0(i)(s) weight: 80(i)(s) width: 100(i)(s) size: 12(f)(s) pixelsize: 12.5(f)(s) foundry: "unknown"(s) hintstyle: 3(i)(s) hinting: FcTrue(s) verticallayout: FcFalse(s) autohint: FcFalse(s) globaladvance: FcTrue(s) file: "/usr/share/fonts/lohit/lohit_gu.ttf"(s) index: 0(i)(s) outline: FcTrue(s) scalable: FcTrue(s) dpi: 75(f)(s) scale: 1(f)(s) charset: 0000: 00000000 ffffffff f8000001 78000001 00000000 00000004 00000000 00800000 0009: 00000000 00000000 00000000 00000030 00000000 00000000 00000000 00000000 000a: 00000000 00000000 00000000 00000000 fffbbfee f3edfdff 00013bbf 0002ffcf 0020: 33183000 00000040 00000000 00000000 00000000 00000000 00000000 00000000 0022: 00040000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0025: 00000000 00000000 00000000 00000000 00000000 00000000 00001000 00000000 (s) lang: gu(s) fontversion: 157286(i)(s) capability: "otlayout:gujr"(s) fontformat: "TrueType"(s) embeddedbitmap: FcTrue(s) decorative: FcFalse(s) The charset element suggests that fontconfig thinks the font covers ASCII digits (those are one bit per char). So the problem is not with your code. Well, checking the font in fontforge, it does have glyphs for ASCII digits. Something's wrong with the cmap. Normally you don't see them mapped, but select "Compact" encoding in fontforge and you see that glyphs ids 125 on are the digits. yep, numerals have a wrong encoding values thats why this bug is coming i will fix this in next version of lohit-gujarati-fonts, thanks Caolan for notifying this fixed problem built lohit-gujarati-fonts-2.4.4-1 for F12 as well devel *** Bug 529521 has been marked as a duplicate of this bug. *** This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping lohit-gujarati-fonts-2.4.4-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/lohit-gujarati-fonts-2.4.4-1.fc12 lohit-gujarati-fonts-2.4.4-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |