diff options
Diffstat (limited to 'test/shaping')
-rw-r--r-- | test/shaping/Makefile.am | 1 | ||||
-rw-r--r-- | test/shaping/Makefile.in | 4 | ||||
-rw-r--r-- | test/shaping/fonts/sha1sum/5028afb650b1bb718ed2131e872fbcce57828fff.ttf | bin | 0 -> 4720 bytes | |||
-rw-r--r-- | test/shaping/fonts/sha1sum/MANIFEST | 1 | ||||
-rw-r--r-- | test/shaping/hb_test_tools.py | 2 | ||||
-rw-r--r-- | test/shaping/tests/arabic-fallback-shaping.tests | 2 | ||||
-rw-r--r-- | test/shaping/tests/hangul-jamo.tests | 9 | ||||
-rw-r--r-- | test/shaping/tests/indic-joiner-candrabindu.tests | 2 |
8 files changed, 8 insertions, 13 deletions
diff --git a/test/shaping/Makefile.am b/test/shaping/Makefile.am index e2dcc98..70bcdd5 100644 --- a/test/shaping/Makefile.am +++ b/test/shaping/Makefile.am @@ -40,6 +40,7 @@ TESTS = \ tests/arabic-feature-order.tests \ tests/context-matching.tests \ tests/hangul-jamo.tests \ + tests/indic-joiner-candrabindu.tests \ tests/indic-old-spec.tests \ tests/indic-pref-blocking.tests \ tests/mongolian-variation-selector.tests \ diff --git a/test/shaping/Makefile.in b/test/shaping/Makefile.in index e5f1224..8e726ff 100644 --- a/test/shaping/Makefile.in +++ b/test/shaping/Makefile.in @@ -81,8 +81,8 @@ build_triplet = @build@ host_triplet = @host@ TESTS = tests/arabic-fallback-shaping.tests \ tests/arabic-feature-order.tests tests/context-matching.tests \ - tests/hangul-jamo.tests tests/indic-old-spec.tests \ - tests/indic-pref-blocking.tests \ + tests/hangul-jamo.tests tests/indic-joiner-candrabindu.tests \ + tests/indic-old-spec.tests tests/indic-pref-blocking.tests \ tests/mongolian-variation-selector.tests \ tests/zero-width-marks.tests $(am__EXEEXT_1) subdir = test/shaping diff --git a/test/shaping/fonts/sha1sum/5028afb650b1bb718ed2131e872fbcce57828fff.ttf b/test/shaping/fonts/sha1sum/5028afb650b1bb718ed2131e872fbcce57828fff.ttf Binary files differnew file mode 100644 index 0000000..8fb2f16 --- /dev/null +++ b/test/shaping/fonts/sha1sum/5028afb650b1bb718ed2131e872fbcce57828fff.ttf diff --git a/test/shaping/fonts/sha1sum/MANIFEST b/test/shaping/fonts/sha1sum/MANIFEST index c51639b..924732d 100644 --- a/test/shaping/fonts/sha1sum/MANIFEST +++ b/test/shaping/fonts/sha1sum/MANIFEST @@ -2,6 +2,7 @@ 270b89df543a7e48e206a2d830c0e10e5265c630.ttf 37033cc5cf37bb223d7355153016b6ccece93b28.ttf 4cce528e99f600ed9c25a2b69e32eb94a03b4ae8.ttf +5028afb650b1bb718ed2131e872fbcce57828fff.ttf 57a9d9f83020155cbb1d2be1f43d82388cbecc88.ttf 757ebd573617a24aa9dfbf0b885c54875c6fe06b.ttf 7e14e7883ed152baa158b80e207b66114c823a8b.ttf diff --git a/test/shaping/hb_test_tools.py b/test/shaping/hb_test_tools.py index 7674fdf..a370e5e 100644 --- a/test/shaping/hb_test_tools.py +++ b/test/shaping/hb_test_tools.py @@ -411,7 +411,7 @@ class Unicode: def parse (s): s = re.sub (r"0[xX]", " ", s) s = re.sub (r"[<+>,;&#\\xXuU\n ]", " ", s) - return [int (x, 16) for x in s.split (' ') if len (x)] + return [int (x, 16) for x in s.split ()] @staticmethod def encode (s): diff --git a/test/shaping/tests/arabic-fallback-shaping.tests b/test/shaping/tests/arabic-fallback-shaping.tests index 0240448..e3eaf3f 100644 --- a/test/shaping/tests/arabic-fallback-shaping.tests +++ b/test/shaping/tests/arabic-fallback-shaping.tests @@ -1 +1 @@ -fonts/sha1sum/df768b9c257e0c9c35786c47cae15c46571d56be.ttf:U+0633,U+064F,U+0644,U+064E,U+0651,U+0627,U+0651,U+0650,U+0645,U+062A,U+06CC:[uni06CC.fina=10+1655|uni062A.medi=9+868|uni0645.init=8+1098|uni0650=2@208,0+0|uni0651=2@272,768+0|uni064E=2@944,1216+0|uni0651=2@1008,768+0|uni06440627.fina=2+1470|uni064F=0@576,-32+0|uni0633.init=0+1585] +fonts/sha1sum/df768b9c257e0c9c35786c47cae15c46571d56be.ttf:U+0633,U+064F,U+0644,U+064E,U+0651,U+0627,U+0651,U+0650,U+0645,U+062A,U+06CC:[uni06CC.fina=10+1655|uni062A.medi=9+868|uni0645.init=8+1098|uni0650=2@221,0+0|uni0651=2@260,736+0|uni064E=2@935,1259+0|uni0651=2@974,736+0|uni06440627.fina=2+1470|uni064F=0@558,-10+0|uni0633.init=0+1585] diff --git a/test/shaping/tests/hangul-jamo.tests b/test/shaping/tests/hangul-jamo.tests index 7c1ef6b..667a1cc 100644 --- a/test/shaping/tests/hangul-jamo.tests +++ b/test/shaping/tests/hangul-jamo.tests @@ -1,11 +1,2 @@ -[gid64252=0+920|gid64568=0+0] -[gid3=0+920|gid4=0+0] -win/util/hb-view.exe --viewr uniscribe -[gid64252=0+920|gid64568=0+0] -[gid3=0+920|gid4=0+0] -win/util/hb-shape.exe --shaper uniscribe -win/util/hb-view.exe --viewr uniscribe -[gid64252=0+920|gid64568=0+0] -[gid3=0+920|gid4=0+0] fonts/sha1sum/757ebd573617a24aa9dfbf0b885c54875c6fe06b.ttf:U+115F,U+11A2:[gid3=0+920|gid4=0+0] fonts/sha1sum/7e14e7883ed152baa158b80e207b66114c823a8b.ttf:U+11A2:[gid1=0+920] diff --git a/test/shaping/tests/indic-joiner-candrabindu.tests b/test/shaping/tests/indic-joiner-candrabindu.tests new file mode 100644 index 0000000..351e927 --- /dev/null +++ b/test/shaping/tests/indic-joiner-candrabindu.tests @@ -0,0 +1,2 @@ +fonts/sha1sum/5028afb650b1bb718ed2131e872fbcce57828fff.ttf:U+0B13,U+200D,U+0B01:[omorya=0+1450] +fonts/sha1sum/5028afb650b1bb718ed2131e872fbcce57828fff.ttf:U+0B13,U+200C,U+0B01:[oorya=0+1309|space=1+0|candrabinduorya=1+0] |