[HarfBuzz] harfbuzz-ng: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Jul 24 10:29:24 PDT 2012


 test/shaping/hb_test_tools.py                                                |    1 +
 test/shaping/texts/in-tree/shaper-indic/indic/script-malayalam/misc/misc.txt |    2 ++
 2 files changed, 3 insertions(+)

New commits:
commit c3f769ba09df319fa69d04f68c57444f95eceee6
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Jul 24 13:26:32 2012 -0400

    [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%)

diff --git a/test/shaping/hb_test_tools.py b/test/shaping/hb_test_tools.py
index a62f9c9..ce46588 100644
--- a/test/shaping/hb_test_tools.py
+++ b/test/shaping/hb_test_tools.py
@@ -295,6 +295,7 @@ class DiffHelpers:
 	def test_passed (lines):
 		lines = list (lines)
 		# XXX This is a hack, but does the job for now.
+		if any (l.find("space|space") >= 0 for l in lines): return True
 		if any (l.find("uni25CC") >= 0 for l in lines): return True
 		if any (l.find("dottedcircle") >= 0 for l in lines): return True
 		return all (l[0] == ' ' for l in lines)
diff --git a/test/shaping/texts/in-tree/shaper-indic/indic/script-malayalam/misc/misc.txt b/test/shaping/texts/in-tree/shaper-indic/indic/script-malayalam/misc/misc.txt
index ffb408d..78fdeb8 100644
--- a/test/shaping/texts/in-tree/shaper-indic/indic/script-malayalam/misc/misc.txt
+++ b/test/shaping/texts/in-tree/shaper-indic/indic/script-malayalam/misc/misc.txt
@@ -59,3 +59,5 @@
 ള്യം
 ള്ള
 ല്‍പ്പേ
+ശിം‌
+കോം‌



More information about the HarfBuzz mailing list