[trak] Add tests
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 11 Oct 2018 15:30:45 +0000 (11:30 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 11 Oct 2018 15:30:45 +0000 (11:30 -0400)
test/shaping/data/in-house/Makefile.sources
test/shaping/data/in-house/fonts/TestTRAK.ttf [new file with mode: 0644]
test/shaping/data/in-house/tests/aat-trak.tests [new file with mode: 0644]

index 1f7eff2..f240274 100644 (file)
@@ -1,4 +1,5 @@
 TESTS = \
+       tests/aat-trak.tests \
        tests/arabic-fallback-shaping.tests \
        tests/arabic-feature-order.tests \
        tests/arabic-like-joining.tests \
diff --git a/test/shaping/data/in-house/fonts/TestTRAK.ttf b/test/shaping/data/in-house/fonts/TestTRAK.ttf
new file mode 100644 (file)
index 0000000..07ae3af
Binary files /dev/null and b/test/shaping/data/in-house/fonts/TestTRAK.ttf differ
diff --git a/test/shaping/data/in-house/tests/aat-trak.tests b/test/shaping/data/in-house/tests/aat-trak.tests
new file mode 100644 (file)
index 0000000..9e65055
--- /dev/null
@@ -0,0 +1,8 @@
+../fonts/TestTRAK.ttf::U+0041,U+0042,U+0043:[A.alt=0+1000|B=1+1000|C.alt=2+1000]
+../fonts/TestTRAK.ttf:--font-ptem=.5:U+0041,U+0042,U+0043:[A.alt=0@100,0+1200|B=1@100,0+1200|C.alt=2@100,0+1200]
+../fonts/TestTRAK.ttf:--font-ptem=1:U+0041,U+0042,U+0043:[A.alt=0@100,0+1200|B=1@100,0+1200|C.alt=2@100,0+1200]
+../fonts/TestTRAK.ttf:--font-ptem=2:U+0041,U+0042,U+0043:[A.alt=0@93,0+1187|B=1@93,0+1187|C.alt=2@93,0+1187]
+../fonts/TestTRAK.ttf:--font-ptem=9:U+0041,U+0042,U+0043:[A.alt=0+1000|B=1+1000|C.alt=2+1000]
+../fonts/TestTRAK.ttf:--font-ptem=24:U+0041,U+0042,U+0043:[A.alt=0@-12,0+976|B=1@-12,0+976|C.alt=2@-12,0+976]
+../fonts/TestTRAK.ttf:--font-ptem=72:U+0041,U+0042,U+0043:[A.alt=0@-50,0+900|B=1@-50,0+900|C.alt=2@-50,0+900]
+../fonts/TestTRAK.ttf:--font-ptem=144:U+0041,U+0042,U+0043:[A.alt=0@-100,0+800|B=1@-100,0+800|C.alt=2@-100,0+800]