W3C home > Mailing lists > Public > www-international@w3.org > January to March 2011

Font file for Urdu script shaping test

From: Kenichi Ishibashi <bashi@chromium.org>
Date: Wed, 16 Mar 2011 10:48:57 -0700
Message-ID: <AANLkTimNYhDxdO30NEsHkXHR5Kpg6=z9+4iG9ttoQnDJ@mail.gmail.com>
To: www-international@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 21 March 2011 08:25:39 GMT