Bug 9089

Summary: usFirstCharIndex value in OS2 table incorrect
Product: DejaVu Reporter: Roozbeh Pournader <roozbeh>
Component: GeneralAssignee: Deja Vu bugs <dejavu-bugs>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Roozbeh Pournader 2006-11-19 23:27:24 UTC
According to a part of the OpenType standard at the following address:

http://www.microsoft.com/typography/otspec/os2.htm#fci

The usFirstCharIndex value should contain "The minimum Unicode index (character
code) in this font, according to the cmap subtable for platform ID 3 and
platform- specific encoding ID 0 or 1."

This is not counting the value 0, which is the ".notdef" character. This means
that the value should be 0x20 for all the DejaVu fonts, as space is the first
character supported. But the value in the fonts, according to TTX and also MS
font validator is 0x0d (13 decimal).
Comment 1 Ben Laenen 2006-11-20 04:06:34 UTC
I think FontForge is automatically putting that value there, because I can't 
find a place to set that value. Going to forward this to the FontForge mailing 
list.
Comment 2 Ben Laenen 2006-11-20 14:44:44 UTC
George Williams has patched this in FontForge, should work now with latest svn 
of FF.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.