From cd41557a96a57383266413818b065729b890d261 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 3 Jun 2022 09:46:57 +0200 Subject: [PATCH] [test/shape] Add PhagsPa tests Adopted from texts/in-house/shaper-arabic/script-phags-pa/misc/misc.txt. Using Noto Sans PhagsPa. --- test/shape/data/in-house/Makefile.sources | 1 + .../ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf | Bin 0 -> 8324 bytes test/shape/data/in-house/meson.build | 1 + .../data/in-house/tests/arabic-phags-pa.tests | 14 ++++++++++++++ 4 files changed, 16 insertions(+) create mode 100644 test/shape/data/in-house/fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf create mode 100644 test/shape/data/in-house/tests/arabic-phags-pa.tests diff --git a/test/shape/data/in-house/Makefile.sources b/test/shape/data/in-house/Makefile.sources index 0e5968167..8e5d40e80 100644 --- a/test/shape/data/in-house/Makefile.sources +++ b/test/shape/data/in-house/Makefile.sources @@ -7,6 +7,7 @@ TESTS = \ tests/arabic-mark-attach.tests \ tests/arabic-mark-order.tests \ tests/arabic-normalization.tests \ + tests/arabic-phags-pa.tests \ tests/arabic-stch.tests \ tests/automatic-fractions.tests \ tests/cluster.tests \ diff --git a/test/shape/data/in-house/fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf b/test/shape/data/in-house/fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf new file mode 100644 index 0000000000000000000000000000000000000000..80c97d3dd46cccfd66c0c346944cef9d644b0acb GIT binary patch literal 8324 zcmb_hdvH_NnLp=TJ#6qxwjMxiV_C9a+q!yM-unKHvxKPY z2@zIr>RRUD{E0E<^ho zo|2u>@gcLycM@2h0*#k<@0ytW=$XQo2+0`1*mEM;EUe^zl&r%eh+{tTZzPZO$~|eG ze>2PiifV1_eSBY@cg#Cf?}$4RYY6d)Ba9p!zxK$kNN)WtA_)J*7hKJ~)WU!N<7hX* z-b1Q)*t_UzKv()xu~YOUQG?NO_6UYHNWXM|I4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xxH?t}f7vG(h| zKN?tGTNrc0!S`N|!gB7DV`X$c2B~icqwI`HB=i9oEYBR61F$5U*)uW zywyI><9ja6{Z@|(yYKpe!HL>Pjen%L$<(%HeQTh(?F2G}jPgV9K@KcPrD`zW!5DG- z|4SWl;;~~%Tx~NnyUEnLTA>|E;@j>F#Wgz(UWiKSJBcrpicY66NEWLmnfL;s@CIxZ zD)gK1|7^TjBNXbgi0ZP#{%S8TiVb=cdUiX#*;5}0b$5p%^*u3P6hS#0)|pLF>U!*A zee0!($yZwIFK)GDXu@Gl1`NS%D&0Eqe={Awmx(uZ)CpfBV4D=f5@RFP(b8#2dzadQdTbG7N%UAiBBQk@BXQu9KWUsPHb zdp|Z8_xmFgslw*#MbCe*O!52$60fZ1(I7DYbKK6(@Y|V*GvRK?jh1?p@j6I6*iw2x zIVc8bm{b=C?lx}mRc~BV+o(6X%PSk!Zf@{LsxF*6`s#LjaNOU!zmY~EeC%>V%eoF{ z#8;)SEp)hon;Hjw{;3V8&WE;s|1tl;h$nnJoRO=IU6wJu2~4<~-5;jptZ`RR7vC#5 z_X6`D>AyFu^UsI2obFFSrMwF%ONqW*ZHVA(ogBjR<}L zp;r(~LN7`}!KLHh`7=wGD0QLb&?6tBDqMo%@Goak8lp1v?Q2RZ4K1~J3CQch8nHrT I#V8N|0qFlQX8-^I literal 0 HcmV?d00001 diff --git a/test/shape/data/in-house/meson.build b/test/shape/data/in-house/meson.build index 6786316b2..991d65bea 100644 --- a/test/shape/data/in-house/meson.build +++ b/test/shape/data/in-house/meson.build @@ -7,6 +7,7 @@ in_house_tests = [ 'arabic-mark-attach.tests', 'arabic-mark-order.tests', 'arabic-normalization.tests', + 'arabic-phags-pa.tests', 'arabic-stch.tests', 'automatic-fractions.tests', 'cluster.tests', diff --git a/test/shape/data/in-house/tests/arabic-phags-pa.tests b/test/shape/data/in-house/tests/arabic-phags-pa.tests new file mode 100644 index 000000000..76e0b285a --- /dev/null +++ b/test/shape/data/in-house/tests/arabic-phags-pa.tests @@ -0,0 +1,14 @@ +../fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf;;U+A873,U+A861;[uniA873=0+563|uniA861=1+463] +../fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf;;U+A861,U+A873,U+A861;[uniA861=0+463|uniA873=1+563|uniA861=2+463] +../fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf;;U+A85E,U+A85E,U+A85E,U+0020,U+A85E;[uniA85E.ini=0+761|uniA85E.med=1+536|uniA85E.fin=2+446|space=3+260|uniA85E=4+671] +../fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf;;U+A85F,U+A85F,U+A85F,U+0020,U+A85F;[uniA85F.ini=0+945|uniA85F.med=1+558|uniA85F.fin=2+502|space=3+260|uniA85F=4+842] +../fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf;;U+A860,U+A860,U+A860,U+0020,U+A860;[uniA860.ini=0+820|uniA860.med=1+510|uniA860.fin=2+420|space=3+260|uniA860=4+730] +../fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf;;U+A861,U+A861,U+A861,U+0020,U+A861;[uniA861.ini=0+553|uniA861.med=1+449|uniA861.fin=2+337|space=3+260|uniA861=4+463] +../fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf;;U+200D,U+A861,U+200D;[space=0+0|uniA861.med=1+449|space=1+0] +../fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf;;U+200D,U+A861;[space=0+0|uniA861.fin=1+337] +../fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf;;U+A861,U+200D;[uniA861.ini=0+553|space=0+0] +../fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf;;U+A85E,U+200C,U+A85F,U+200C,U+A860,U+200C,U+A861;[uniA85E=0+671|space=1+0|uniA85F=2+842|space=3+0|uniA860=4+730|space=5+0|uniA861=6+463] +../fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf;;U+A849,U+A85E;[uniA849.ini=0+798|uniA85E.fin=1+446] +../fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf;;U+A849,U+A85E,U+FE00;[uniA849.ini=0+798|uniA85E.mir.fin=1+446] +../fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf;;U+A86A,U+A85E;[uniA86A.ini=0+798|uniA85E.mir.fin=1+446] +../fonts/ec404b8524cd56efa5d25524cc8541a0b6604b4f.ttf;;U+A86A,U+A85E,U+FE00;[uniA86A.ini.unmir=0+766|uniA85E.fin=1+446]