From 7b0fc0be539ae02af71a7fa076a96c779c116b68 Mon Sep 17 00:00:00 2001 From: David Corbett Date: Mon, 27 Jun 2022 21:18:36 -0400 Subject: [PATCH] [test] Test the reordering of U+0E33 and U+0EB3 --- test/shape/README.md | 2 +- test/shape/data/in-house/Makefile.sources | 1 + ...a539a90a371ccf028dc2dcced9b63b07163be7.ttf | Bin 0 -> 1656 bytes test/shape/data/in-house/meson.build | 1 + test/shape/data/in-house/tests/sara-am.tests | 52 ++++++++++++++++++ 5 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 test/shape/data/in-house/fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf create mode 100644 test/shape/data/in-house/tests/sara-am.tests diff --git a/test/shape/README.md b/test/shape/README.md index 094bb8bce..08cdcdc7b 100644 --- a/test/shape/README.md +++ b/test/shape/README.md @@ -28,7 +28,7 @@ what this does is: to an existing or new test file in `data/in-house/tests` using `-o`, e.g.: ```sh -$ ./hb-unicode-encode 41 42 43 627 | ./record-test.sh -o data/in-house/tests/test-name.test ../../util/hb-subset ../../util/hb-shape font.ttf +$ ./hb-unicode-encode 41 42 43 627 | ./record-test.sh -o data/in-house/tests/test-name.tests ../../util/hb-subset ../../util/hb-shape font.ttf ``` If you created a new test file, add it to `data/in-house/Makefile.sources` diff --git a/test/shape/data/in-house/Makefile.sources b/test/shape/data/in-house/Makefile.sources index 8e5d40e80..58b6732d7 100644 --- a/test/shape/data/in-house/Makefile.sources +++ b/test/shape/data/in-house/Makefile.sources @@ -58,6 +58,7 @@ TESTS = \ tests/rand.tests \ tests/reverse-sub.tests \ tests/rotation.tests \ + tests/sara-am.tests \ tests/simple.tests \ tests/sinhala.tests \ tests/spaces.tests \ diff --git a/test/shape/data/in-house/fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf b/test/shape/data/in-house/fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf new file mode 100644 index 0000000000000000000000000000000000000000..055a836e57684b92bef5c8148e970e5276cb6c32 GIT binary patch literal 1656 zcmcIjU1%It6#nkaX4hDpw3?VaZ0SU{ws|n!ouo;ug1VDU=tG*Sp+c}W+w7WMG1+A^ zZPLD&VxaK{%tNUUwgjY5LJL))B%-B3g!&MoJ`_Q1Q}99YrHsU8(IxA5=gwgCNrc|v z%y-T==bZ1(xikF(1O2GQ6m)F0dwR?dZ@hL3(2KN4|BHL9HydZZ0fY%)Xm~VT-1pJY zIO8eCPA;3yL~r**=>J0N$dS-jwUhL}q{VWh&Sc%<50{z0#&~)(Jy}HaLAp3c3y-Bo zvk%>BnFF**#^qvR+^H_YqJM#A0?ciur_;EqSG{K{*nAgEnMMYKVr_#v7qcMqkJaok zWao#=O-JgU{vBI%xo6y7t$yI)9Wlq+jF@F7-~nioxN0mIpBXDVm#bBPY{KXz`?1Gn|NX!wH8u>EJPld~ z*eFU2d>Q{&3u^vPy{bh7gYu0-wcOXUc*XYxNBXkwYcO!Y_jR6q)b~T1a%#xR`N=+E zk3WPgN*G5T1&ndV3A7^aT_$=w&hfB>5oVg$N9*&^LKmJu2hC!I#p?y;jNlkvN19#x zV6#IJC+O$N=isn%H-^zd3~EetGy6C*GGt{%2}jw-fg=zKK?tGs$-5O5rx6u1B8pax zrboqes1mzdj{VV8vt544b@F~@TNJf)H1}aVrtwh2c$`~o$5TjRKmU@KIKC{mIF6Gz zg&DkuvpCP6=n_7`r&z)btl%bo#83DYF3PBiaH2IHkK2XfiBf(f=a{>PTTCl%S!Q?o zcs^s=h0@Wi;~X2y$5Ziy2W>uBDr!^Eu3)c%4h5YawENJdq9+wRry!}oR?w{=Q-@5PAm$x_Y^L<2q@3ns}t@Da( F!C#vLmWcoW literal 0 HcmV?d00001 diff --git a/test/shape/data/in-house/meson.build b/test/shape/data/in-house/meson.build index 991d65bea..e396073f3 100644 --- a/test/shape/data/in-house/meson.build +++ b/test/shape/data/in-house/meson.build @@ -58,6 +58,7 @@ in_house_tests = [ 'rand.tests', 'reverse-sub.tests', 'rotation.tests', + 'sara-am.tests', 'simple.tests', 'sinhala.tests', 'spaces.tests', diff --git a/test/shape/data/in-house/tests/sara-am.tests b/test/shape/data/in-house/tests/sara-am.tests new file mode 100644 index 000000000..c50a6a4ad --- /dev/null +++ b/test/shape/data/in-house/tests/sara-am.tests @@ -0,0 +1,52 @@ +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E31,U+0E33;[uni0E01=0+500|uni0E4D=0+0|uni0E31=0+0|uni0E32=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E34,U+0E33;[uni0E01=0+500|uni0E4D=0+0|uni0E34=0+0|uni0E32=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E35,U+0E33;[uni0E01=0+500|uni0E4D=0+0|uni0E35=0+0|uni0E32=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E36,U+0E33;[uni0E01=0+500|uni0E4D=0+0|uni0E36=0+0|uni0E32=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E37,U+0E33;[uni0E01=0+500|uni0E4D=0+0|uni0E37=0+0|uni0E32=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E47,U+0E33;[uni0E01=0+500|uni0E4D=0+0|uni0E47=0+0|uni0E32=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E48,U+0E33;[uni0E01=0+500|uni0E4D=0+0|uni0E48=0+0|uni0E32=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E49,U+0E33;[uni0E01=0+500|uni0E4D=0+0|uni0E49=0+0|uni0E32=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E4A,U+0E33;[uni0E01=0+500|uni0E4D=0+0|uni0E4A=0+0|uni0E32=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E4B,U+0E33;[uni0E01=0+500|uni0E4D=0+0|uni0E4B=0+0|uni0E32=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E4C,U+0E33;[uni0E01=0+500|uni0E4D=0+0|uni0E4C=0+0|uni0E32=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E4D,U+0E33;[uni0E01=0+500|uni0E4D=0+0|uni0E4D=0+0|uni0E32=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E4E,U+0E33;[uni0E01=0+500|uni0E4D=0+0|uni0E4E=0+0|uni0E32=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E31,U+0E4D,U+0E32;[uni0E01=0+500|uni0E31=0+0|uni0E4D=0+0|uni0E32=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E34,U+0E4D,U+0E32;[uni0E01=0+500|uni0E34=0+0|uni0E4D=0+0|uni0E32=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E35,U+0E4D,U+0E32;[uni0E01=0+500|uni0E35=0+0|uni0E4D=0+0|uni0E32=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E36,U+0E4D,U+0E32;[uni0E01=0+500|uni0E36=0+0|uni0E4D=0+0|uni0E32=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E37,U+0E4D,U+0E32;[uni0E01=0+500|uni0E37=0+0|uni0E4D=0+0|uni0E32=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E47,U+0E4D,U+0E32;[uni0E01=0+500|uni0E47=0+0|uni0E4D=0+0|uni0E32=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E48,U+0E4D,U+0E32;[uni0E01=0+500|uni0E48=0+0|uni0E4D=0+0|uni0E32=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E49,U+0E4D,U+0E32;[uni0E01=0+500|uni0E49=0+0|uni0E4D=0+0|uni0E32=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E4A,U+0E4D,U+0E32;[uni0E01=0+500|uni0E4A=0+0|uni0E4D=0+0|uni0E32=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E4B,U+0E4D,U+0E32;[uni0E01=0+500|uni0E4B=0+0|uni0E4D=0+0|uni0E32=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E4C,U+0E4D,U+0E32;[uni0E01=0+500|uni0E4C=0+0|uni0E4D=0+0|uni0E32=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E4D,U+0E4D,U+0E32;[uni0E01=0+500|uni0E4D=0+0|uni0E4D=0+0|uni0E32=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E01,U+0E4E,U+0E4D,U+0E32;[uni0E01=0+500|uni0E4E=0+0|uni0E4D=0+0|uni0E32=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EB1,U+0EB3;[uni0E81=0+500|uni0ECD=0+0|uni0EB1=0+0|uni0EB2=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EB4,U+0EB3;[uni0E81=0+500|uni0ECD=0+0|uni0EB4=0+0|uni0EB2=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EB5,U+0EB3;[uni0E81=0+500|uni0ECD=0+0|uni0EB5=0+0|uni0EB2=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EB5,U+0EB3;[uni0E81=0+500|uni0ECD=0+0|uni0EB5=0+0|uni0EB2=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EB7,U+0EB3;[uni0E81=0+500|uni0ECD=0+0|uni0EB7=0+0|uni0EB2=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EBB,U+0EB3;[uni0E81=0+500|uni0ECD=0+0|uni0EBB=0+0|uni0EB2=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EC8,U+0EB3;[uni0E81=0+500|uni0ECD=0+0|uni0EC8=0+0|uni0EB2=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EC9,U+0EB3;[uni0E81=0+500|uni0ECD=0+0|uni0EC9=0+0|uni0EB2=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0ECA,U+0EB3;[uni0E81=0+500|uni0ECD=0+0|uni0ECA=0+0|uni0EB2=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0ECB,U+0EB3;[uni0E81=0+500|uni0ECD=0+0|uni0ECB=0+0|uni0EB2=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0ECC,U+0EB3;[uni0E81=0+500|uni0ECD=0+0|uni0ECC=0+0|uni0EB2=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0ECD,U+0EB3;[uni0E81=0+500|uni0ECD=0+0|uni0ECD=0+0|uni0EB2=0+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0ECE,U+0EB3;[uni0E81=0+500|uni0ECD=1+0|uni0ECE=1+0|uni0EB2=1+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EB1,U+0ECD,U+0EB2;[uni0E81=0+500|uni0EB1=0+0|uni0ECD=0+0|uni0EB2=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EB4,U+0ECD,U+0EB2;[uni0E81=0+500|uni0EB4=0+0|uni0ECD=0+0|uni0EB2=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EB5,U+0ECD,U+0EB2;[uni0E81=0+500|uni0EB5=0+0|uni0ECD=0+0|uni0EB2=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EB5,U+0ECD,U+0EB2;[uni0E81=0+500|uni0EB5=0+0|uni0ECD=0+0|uni0EB2=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EB7,U+0ECD,U+0EB2;[uni0E81=0+500|uni0EB7=0+0|uni0ECD=0+0|uni0EB2=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EBB,U+0ECD,U+0EB2;[uni0E81=0+500|uni0EBB=0+0|uni0ECD=0+0|uni0EB2=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EC8,U+0ECD,U+0EB2;[uni0E81=0+500|uni0EC8=0+0|uni0ECD=0+0|uni0EB2=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0EC9,U+0ECD,U+0EB2;[uni0E81=0+500|uni0EC9=0+0|uni0ECD=0+0|uni0EB2=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0ECA,U+0ECD,U+0EB2;[uni0E81=0+500|uni0ECA=0+0|uni0ECD=0+0|uni0EB2=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0ECB,U+0ECD,U+0EB2;[uni0E81=0+500|uni0ECB=0+0|uni0ECD=0+0|uni0EB2=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0ECC,U+0ECD,U+0EB2;[uni0E81=0+500|uni0ECC=0+0|uni0ECD=0+0|uni0EB2=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0ECD,U+0ECD,U+0EB2;[uni0E81=0+500|uni0ECD=0+0|uni0ECD=0+0|uni0EB2=3+500] +../fonts/63a539a90a371ccf028dc2dcced9b63b07163be7.ttf;;U+0E81,U+0ECE,U+0ECD,U+0EB2;[uni0E81=0+500|uni0ECE=1+0|uni0ECD=1+0|uni0EB2=3+500]