[Bug 529637] fontconfig suggests "Lohit Gujarati" when requesting a font that supports '1', but Lohit Gujarati doesn't have that glyph

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 23 20:22:29 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=529637





--- Comment #2 from Behdad Esfahbod <besfahbo at redhat.com>  2009-10-23 16:22:28 EDT ---
$ 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.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-fonts-bugs-list mailing list