[Indic] Ignore Uniscribe output containing two zero-width space glyphs
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 24 Jul 2012 17:26:32 +0000 (13:26 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 24 Jul 2012 17:26:32 +0000 (13:26 -0400)
commitc3f769ba09df319fa69d04f68c57444f95eceee6
tree1527afe369708c65fbfbc75f16cd7cfa2f75fcd8
parent65c43accdc4d2082282d5cedba8514b8df0c18a2
[Indic] Ignore Uniscribe output containing two zero-width space glyphs

Uniscribe is buggy and sometimes /eats/ a mark next to a non-joiner.
Most of Malayalam failures where actually hitting this bug.

Ignore test output with two zero-width space glyphs.  This is a hack
until we build up the test suite infrastructure better.

Bengali went down by 9, Devanagari by 2, Kannada by 130, Malayalm down
from 1197 to 307, Sinhala down by 16, Telugu down by 26.  New stats:

BENGALI: 353996 out of 354285 tests passed. 289 failed (0.0815727%)
DEVANAGARI: 693573 out of 693628 tests passed. 55 failed (0.00792932%)
GUJARATI: 366489 out of 366506 tests passed. 17 failed (0.0046384%)
GURMUKHI: 60750 out of 60809 tests passed. 59 failed (0.0970251%)
KANNADA: 951086 out of 951913 tests passed. 827 failed (0.0868777%)
KHMER: 299094 out of 299124 tests passed. 30 failed (0.0100293%)
MALAYALAM: 1048109 out of 1048416 tests passed. 307 failed (0.0292823%)
ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%)
SINHALA: 271715 out of 271847 tests passed. 132 failed (0.0485567%)
TAMIL: 1091837 out of 1091837 tests passed. 0 failed (0%)
TELUGU: 970550 out of 970573 tests passed. 23 failed (0.00236973%)
test/shaping/hb_test_tools.py
test/shaping/texts/in-tree/shaper-indic/indic/script-malayalam/misc/misc.txt