From 43722cc9f428bbfa759d4d93008ba4cf6efaceba Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Thu, 12 Aug 2021 02:32:29 +0200 Subject: [PATCH] [test] Add some real reverse sub tests --- .../1b66a1f4b076b734caa6397b3e57231af1feaafb.ttf | Bin 0 -> 3220 bytes .../3f24aff8b768e586162e9b9d03b15c36508dd2ae.ttf | Bin 0 -> 5760 bytes .../data/in-house/tests/reverse-sub.tests | 2 ++ 3 files changed, 2 insertions(+) create mode 100644 test/shaping/data/in-house/fonts/1b66a1f4b076b734caa6397b3e57231af1feaafb.ttf create mode 100644 test/shaping/data/in-house/fonts/3f24aff8b768e586162e9b9d03b15c36508dd2ae.ttf diff --git a/test/shaping/data/in-house/fonts/1b66a1f4b076b734caa6397b3e57231af1feaafb.ttf b/test/shaping/data/in-house/fonts/1b66a1f4b076b734caa6397b3e57231af1feaafb.ttf new file mode 100644 index 0000000000000000000000000000000000000000..906f5bf8260ea6991de3be791a5cf08aa111f719 GIT binary patch literal 3220 zcmbVO3sh8f8vpLSb7ypNM^P`y49*=DA7S7~VVIb_cAx}C9s(+jjxaD|%nZy7N@1;) z1#{RJtpyX>DwlkCokXtn@$hr)9r;M?H1gv!}E7p6`C| z-}l|`e;;|mYw`Q zA7FSW>dOk8*3vjf-wyPrq8@9vSqrsyRv!Zx7Ki#QI~s;*6js#zsE65|zKX}EayHZ} zP+#M;R+NHa0g7-CN$IjWZBv@(RU!Ur0OpfYx7YW(9T0{1)#x_>U@Tr4P_V!-%=mP- z&*k>Hv#c(!$zv_>IovL9M5e8{yu|8}0wVo0z;9&yGg<#Q#rQRdF@mK*BRHBx*ZNxr ze$V@-jodsQfPZncKPm_wMpT@|XwX6!M8GU~3Q`~wmOvqtfDc}RD%b#9p#i%+2CZ<5 z8UBLJcG zTp?+U9K^$N*a>%;>5PZzWh&(Kg>Nh^ElcoI$KeL}{QO8sDPFv)G{Cvf*z zIL)PttkVq?3i?T&USlUDc)*gNq6=yG$pwEs*H~Y>W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>uR^Y8M4m3 zuGFEWd;hG`;2)JiVwvPELH%h!y7^KNaqIfqy+1hC1m^HSPd1yA zp&g8dq(BWt1Tz_((yV|T$9{;+AWuRCi}6>}My6x74_xxqjS*R3MNNt|VU!g&0X{@<%eG9+DTZ>y zwW2QyvyFI0!yN3wjAt@RKgYX|_Die??Chs#KhOK$eMoop)7%`?JlJ!fPiZ>$JNr56 zukQwzPhL|F`B-T+WUhc|$d#Z#orT$kq@f|y@yQq(8oKc1mB2HB7R*|MY^YA!@BWuV zLQ{htXU8O&QnO(gBI1E)l7}g&=oavmr5 zIU3~}*@G_y$_$7y7K2v?R>&R$<_i!E55qVJ!5y*=(Z*vx(qBM8F5RPqJ?sHu%mYLz b<{_L(;0*|%jzwMWT&|%+bSX;Of5U$OI3E$& literal 0 HcmV?d00001 diff --git a/test/shaping/data/in-house/fonts/3f24aff8b768e586162e9b9d03b15c36508dd2ae.ttf b/test/shaping/data/in-house/fonts/3f24aff8b768e586162e9b9d03b15c36508dd2ae.ttf new file mode 100644 index 0000000000000000000000000000000000000000..7449e489db77f72d6b6a62e97d7386061fff3b48 GIT binary patch literal 5760 zcmbVQ4QyN06+ZVq`}rr%kCSIRO`A5UUH>#8zjmB7g$5`tZ6a#gtP6|*CMiiul4eQi z(yi*MPD5-%sHzHM)u<}bA%->y&^93r%Er)!Hi@B*O^7kjP*(})U>ajngKF?z!ilzkBX|CP741beJ@{bIax%GW0%uNK|Fi+jq8i?SFUhX`+e_5bhkE&dvJXsM~`+&mSJo&ClXpgZcO4 z?H->xaJT!OcfJSw0=lgeyK`f~O^)+K9>}Mj2@o7#q?MTOLq9Sxy>H>>|9;{n@^U{v zwRbc(SF!gZ_caXHJYFae z6^_XfI_rp0CH)gLojTCM2cS>US%REUbGmtLG}+VLoDQ#zMq{pEFce;^8^K$}j}rM_ zx6kJmZzmpY+<5isma2&FwRNe~OvYE^%fvQCGl7^lIhe8~9{yB`&nNN`CGn%g)1NL; z7cW9$6LjqAN$ad#D%sQ1-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{rM(ioJWy9co}k1EjOQ>_N^`_A8%aPBovcllZa6O`Dj@ti`N_2VA@kLqu^5 zK%XRT<~@`~73srwO+PHS8kw>QJiemN1|+V)>SpcX2y+H-UVBv?NP?g1f-QZQk{-d> z0B#Z2;qJ4UZa{t5LO0?@v5f|mo++$K;24B7j*k--x8fw;ga0W_o4F#@0{EX%wwc#4 z?*}H`tWJK6Xvmka%1EIk+FUhC6Q0k$>VtKr8%O^gsT&px*!h literal 0 HcmV?d00001 diff --git a/test/shaping/data/in-house/tests/reverse-sub.tests b/test/shaping/data/in-house/tests/reverse-sub.tests index 9563a58b6..60a536956 100644 --- a/test/shaping/data/in-house/tests/reverse-sub.tests +++ b/test/shaping/data/in-house/tests/reverse-sub.tests @@ -1 +1,3 @@ ../fonts/a706511c65fb278fda87eaf2180ca6684a80f423.ttf;;U+0041,U+0020,U+0041,U+0042;[A.alt1=0+1000|space=1+1000|A.alt1=2+1000|B=3+1000] +../fonts/3f24aff8b768e586162e9b9d03b15c36508dd2ae.ttf;--features=salt=2;U+0635,U+0644,U+0637,U+062E,U+0644,U+0637,U+062C;[gid43=6@143,-124+0|gid8=6+178|gid25=5@0,110+670|gid33=4@0,110+120|gid41=3@-8,343+0|gid10=3@0,110+88|gid26=2@0,220+670|gid34=1@0,220+120|gid21=0@0,220+670] +../fonts/1b66a1f4b076b734caa6397b3e57231af1feaafb.ttf;;U+0031,U+0032,U+0033,U+0034,U+0035,U+0036,U+0037,U+0038,U+0039,U+0030,U+2044,U+0031,U+0032,U+0033,U+0034,U+0035,U+0036,U+0037,U+0038,U+0039,U+0030;[one.numr=0+350|two.numr=1+350|three.numr=2+350|four.numr=3+350|five.numr=4+350|six.numr=5+350|seven.numr=6+350|eight.numr=7+350|nine.numr=8+350|zero.numr=9+350|fraction=10+130|one.dnom=11+350|two.dnom=12+350|three.dnom=13+350|four.dnom=14+350|five.dnom=15+350|six.dnom=16+350|seven.dnom=17+350|eight.dnom=18+350|nine.dnom=19+350|zero.dnom=20+350]