From 04fd8517f85ae9aa05b44f25578d2b19abfef7cb Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 4 Nov 2015 17:38:22 -0800 Subject: [PATCH] Add tests for hyphen fallback U+2011 is equivaent of U+2010, so we should do the fallback for it. Currently fails. --- test/shaping/Makefile.am | 1 + .../1c04a16f32a39c26c851b7fc014d2e8d298ba2b8.ttf | Bin 0 -> 820 bytes test/shaping/fonts/sha1sum/MANIFEST | 2 ++ test/shaping/tests/MANIFEST | 1 + test/shaping/tests/hyphens.tests | 2 ++ 5 files changed, 6 insertions(+) create mode 100644 test/shaping/fonts/sha1sum/1c04a16f32a39c26c851b7fc014d2e8d298ba2b8.ttf create mode 100644 test/shaping/tests/hyphens.tests diff --git a/test/shaping/Makefile.am b/test/shaping/Makefile.am index 607da6d04..e7ac9d59a 100644 --- a/test/shaping/Makefile.am +++ b/test/shaping/Makefile.am @@ -48,6 +48,7 @@ TESTS = \ tests/default-ignorables.tests \ tests/fuzzed.tests \ tests/hangul-jamo.tests \ + tests/hyphens.tests \ tests/indic-joiner-candrabindu.tests \ tests/indic-old-spec.tests \ tests/indic-pref-blocking.tests \ diff --git a/test/shaping/fonts/sha1sum/1c04a16f32a39c26c851b7fc014d2e8d298ba2b8.ttf b/test/shaping/fonts/sha1sum/1c04a16f32a39c26c851b7fc014d2e8d298ba2b8.ttf new file mode 100644 index 0000000000000000000000000000000000000000..26d19ade2801bcef06a3cff81a3205f49cb3af64 GIT binary patch literal 820 zcmZXS%TE(g6vn@~Gkwqp5FJ>6;$RvRqeP>Lx**0hU}Iterht)!oe6Deq|-KSCAjes z`~%$T!j%hGh9&M@X>{QN*foJD8#gYH#0cYe?pR~uxw((uIcM&9+<^h07ms1W%}q>R zM;{b5-#G2u^i+Q9^6m{loNzanpUq+b39?I0P36yBxHGmqMy`_Q7JRRPVXr`bM|Kyz zRs%5(sEqh8Rv(n#o+>2C=gC8rl2=saD?i9L$(Jfrq}HQ(@>6oA;4c~`Nob5Bj^MY zf+9JaoYH5BG(nP_GTcMvHDrr}dZ(ZD>9zA+`|)*X1&--eXYKTh2U+e>QZc`gTZ=|V zJyNR@@95~jXi*Ixd{L{fx}LWag_ko|3w`5zI3bM#KJ9&2?(X{=zuu&qJ+tJ{CwEJ