From 100e95f48e3d137c654d206e858d6419ea62a12c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 11 Oct 2018 11:30:45 -0400 Subject: [PATCH] [trak] Add tests --- test/shaping/data/in-house/Makefile.sources | 1 + test/shaping/data/in-house/fonts/TestTRAK.ttf | Bin 0 -> 2456 bytes test/shaping/data/in-house/tests/aat-trak.tests | 8 ++++++++ 3 files changed, 9 insertions(+) create mode 100644 test/shaping/data/in-house/fonts/TestTRAK.ttf create mode 100644 test/shaping/data/in-house/tests/aat-trak.tests diff --git a/test/shaping/data/in-house/Makefile.sources b/test/shaping/data/in-house/Makefile.sources index 1f7eff2..f240274 100644 --- a/test/shaping/data/in-house/Makefile.sources +++ b/test/shaping/data/in-house/Makefile.sources @@ -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 index 0000000000000000000000000000000000000000..07ae3afd81ecfbf1c36c3e5a173c36b6a754513d GIT binary patch literal 2456 zcmai0O-vg{6n?X7Y(OqxY_9RE8-M$PNN6E4 zwWm{wdE0Bp+*sQ{SJMz!eh_2OH-Ya;FBX^Ua!dk$7kpbLn@rUFY?J$ z(>!sLttM)cdWuqwCStI4Yc!9{n<#$3ZbMQlyepgme_Ws0>l9%7xq@!UDPucz{PYR< zm1#_rfngmO)}g`oLhMfgyTcm6=P>uHBjhNze_W9#R77`R6O^}DNHZof}M_FKn*+1$}?e3$C78F2jtdnm#1e|>h16!dN#&)F2-Zo z_9?4%Sj}0jr*V}l(Yg4^+?`EdIOqzBiWpYIl1p;Bj6jZ|nuS~M-Tb_<&eULOI%x>~ zgja9#`okfAbEK6;t4>ybbu_IwUSCK%V2Wb12Lq@bs-zWBF$QlrGU;=-DdSTsY4?EC zDtEQD40wzP4u$sZMM-)Tzkl-v3w7EY6RzfN+=iW+c&kyU;SfLVIO_=O3iE@Ga~?F5 z;HbZ&SDNkdxVl^A1JN_dSlkf#AL+E!np20Z)~WVvEPj#Sz@3;K)iHOST0^YL8)S%L zIDq&D>_n)lqrsuU3GR0-o#$T~Qyu6Cx=u4{0;kggHPA$vHsPGa%Cs5uwKDwzbJJ>> zZlDwF>oRR8vtXt%%2JN5Ql2i*0;Q=4%TLe)_`(d(5U5kMgta8}<|#${AsL4xNqsZ} zz5t6EnxYXpjxhxvmnlOD_}jfIKWDwSYCVm(1;jgw*h?C+X;9}uUC|<>u%>HdG=wQ= z6@XzL^2?w(-aP0c_QiFlfqVkv1R0pa# zVL!2LQz%>UD(d^sV()qQNLAPvkruYS^p^KELZdhd`U{7t^cCv=f2|%uk-Er3UM4V+ znOF@o*NpTfGR2xvZ5-pHbuM`!pUkA@$Fhq#+uXTKB6(?SN3s=%!5i-r==^PE_!jZT z@Otuhl&@{IE*X~-4AWj)0e6G13V3@=WU0`$Y6iNec8wNrW_4ZuAB^ZM`Z|C8OCSCR D*gN_- literal 0 HcmV?d00001 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 index 0000000..9e65055 --- /dev/null +++ b/test/shaping/data/in-house/tests/aat-trak.tests @@ -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] -- 2.7.4