Font file for Urdu script shaping test

Hi,

Sorry for wide distribution, but I'm not sure the right contact point.

I found that the Nafees Nastaleeq font, which is used for Urdu script
shaping tests[1], contains invalid values in class definition table in
its GDEF table. The GDEF table in the font has ClassDefFormat2 table
(it's defined at [2]) and its 7th ClassRangeRecord is invalid. It
isn't indexed in consecutive order and it's glyph range is overlapped.
Here is the output of ttfdump:

(snip)
                      ; ClassRangeRecord[5]
824
825
2
                      ; ClassRangeRecord[6]
1
0
1
                      ; ClassRangeRecord[7]
836
844
3
(snip)

I found this when I checked whether a Chromium build which has more
font sanitising features can pass the script shaping tests. Chromium
drops font tables which has invalid values so the test won't be passed
as long as the font has this problem. Could I have valid font to pass
the test?

[1] http://www.w3.org/International/tests/tests-html-css/tests-webfonts/generate?test=6
[2] http://www.microsoft.com/typography/otspec/chapter2.htm

Regards,

Received on Monday, 21 March 2011 08:25:33 UTC