From ebcdadbf546dc7a067bb18f1fa232c4871faf943 Mon Sep 17 00:00:00 2001 From: Qunxin Liu Date: Fri, 3 May 2024 14:24:56 -0700 Subject: [PATCH] [instancer] add tests for instantiating BASE table --- ...default.retain-all-codepoint.wght=400-600.ttf | Bin 0 -> 2680 bytes ...set.default.retain-all-codepoint.wght=500.ttf | Bin 0 -> 1932 bytes test/subset/data/fonts/NotoSerifHK-subset.ttf | Bin 0 -> 3248 bytes test/subset/data/tests/instantiate_base.tests | 15 +++++++++++++++ test/subset/meson.build | 1 + 5 files changed, 16 insertions(+) create mode 100644 test/subset/data/expected/instantiate_base/NotoSerifHK-subset.default.retain-all-codepoint.wght=400-600.ttf create mode 100644 test/subset/data/expected/instantiate_base/NotoSerifHK-subset.default.retain-all-codepoint.wght=500.ttf create mode 100644 test/subset/data/fonts/NotoSerifHK-subset.ttf create mode 100644 test/subset/data/tests/instantiate_base.tests diff --git a/test/subset/data/expected/instantiate_base/NotoSerifHK-subset.default.retain-all-codepoint.wght=400-600.ttf b/test/subset/data/expected/instantiate_base/NotoSerifHK-subset.default.retain-all-codepoint.wght=400-600.ttf new file mode 100644 index 0000000000000000000000000000000000000000..9cf667faed08fbd61255e8844118093e9a7f8353 GIT binary patch literal 2680 zcmb7FZERCj7=F*WxA%7aqHJw90lTuo22(~^+iek@+ZYVz*veYwFbG__vCe(8mWg0Y zSe>8}Obk&&Fi{hYF(f8LVnU2Di!mYoA(|MYi4ZZGh`)%z0n+vQoYRh>F(#gyd(Qj3 z=ly!lJ?C6vMC3!K(%!Dl&09KFw+4y$R%jz#vA(! z+tz{h{gMOnK5ewKhVI0a( z8Fc{90tY6IiQ$H4;}?;-2Qlu?qz_D)=cy6%KZ^NGb~uyLP856 ztU8E%7DlHq{}Qn6JTs4;RbK%lW}37FI->iL|1+$RV0;p`FG_icUnB>Ai=zA-wZL99 zM(QlhN-@Bz3vJXUWHF~wJKhB(g*zQqTQu`yQTM+z@#&8gev(-or1J}TEUF*mX6 z1&6eGky6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-#Gjo{>)jaxU03AW|CK*CSrTU$DKpZvX%Q literal 0 HcmV?d00001 diff --git a/test/subset/data/expected/instantiate_base/NotoSerifHK-subset.default.retain-all-codepoint.wght=500.ttf b/test/subset/data/expected/instantiate_base/NotoSerifHK-subset.default.retain-all-codepoint.wght=500.ttf new file mode 100644 index 0000000000000000000000000000000000000000..f1be3f9361d7718105776e0ddf4146093e36480e GIT binary patch literal 1932 zcmb7E?N5_e6hHU&4Vr?ywA6^wN?Acg3Vr&b!=NBqBWMXN44tB-lon}eEfpbKGz;i- znd8f{Y$ImL<`>OAEZbc8vTT3ALgJS#E_`9zhh@vMC6lPXKzBUNu+WUrXBPUdb_|$rlS%1nWmxFLpP=(6B#O`Ht1pK_R&Zx zR{Q{?8rA4Uy`T2)p3ay3@2oTf^>OC{&F99SZatO_min+M@Z zi_gs$lS%!R&+}iP>T&1l5NJkf!PK`O?F{4POlFhhjAvsb3 zQwGUeN(Nx0F@UuWNxa7UaN4oDvwm_j53GFcBAki4)<+;14A3ET=CCHC-Vjx0Rp-l? zK{y}^FAW*%WsH#~=uV#BfaKRJ`5l-1S|mSrp5Gcb22LBYs2c`2GgNd#=9^@;Nk)Z6 zVp-(--zy+RP9m~U?xMpY;R39660ZgCO5Ujcss2DRJ9SxI2A7}I6?H-K5iz3Af}7aI zd*E^kWV|bMZ4vntQyFa~QoMe}YH^e+9aI#ut}u{C4s3#m9F0V_^WU0^F;70g{=T(Fuubark^*ug6)d==Bzhxx(u3 zDsCSPj;Dl*3X55XN;#bjA?w=&%}pP z9SUpDUGmx5Gu-!<8a>U%!yYwEch4&6It9{!}ax~Ho-(F>x8T8N+9rZ&=ub8uXDMFOO=6Jr%%tsJe51{+%I?7wgqRi z7iWW&w(8Q4Kd7oiBQXjoE4rc;9qwZdd6`iot>k5n&is~_HFT2R&&%3PK04~B_Pkw> zf3B^oGQNKkro?AOqSthSVl+s@bcs^*0_0(eQ-X59O=C?{2(~P&Lv)NfXfGYX*O7xI zLY?crz0zk4dYVS@9l5CiTpF?OMN|{|oseizc|H!0CU}TnBhFI58Ucd1ZwUJYeybQh z>9K*t-;}3aW@>+CrgaphU6NfR`1_Hc pTjr_2)`~i&X+W~ClQqmyhMp%E=4Ck>aOav&1CY|l-37dczX7eBO~C*F literal 0 HcmV?d00001 diff --git a/test/subset/data/fonts/NotoSerifHK-subset.ttf b/test/subset/data/fonts/NotoSerifHK-subset.ttf new file mode 100644 index 0000000000000000000000000000000000000000..0647297bbeb5347c6513b28e8d03e4462c6d15ae GIT binary patch literal 3248 zcmb7GeN0=|6+iDi`x$>=z&zVP_;_G2P!a;RF{EJx2#F~ng znU~j#H@;?0JcXenAro18f^#%4YrPwD(D`3W@S0-_ly;r2bJAEQE4Js-U)(k6G?ji= zy}IX@)yvJ)%-2Z7#5_|lvYiTQPQ|Rl$M}QD0a1&lY1g-qQ;|T)X$TS8~3kXIYrfy99vGDLyqP+7l591>O2B)%_??m-old=6d3*<^Bb#DTMv zq}F7mFTfw|TG9{Dy0PKWA@rHCk?>SvDmKZZcJR@{D;n9k&3Mes_|RCsOz`?@DhoqA z3;n!4J9vFI@ho^!S=g*i0X4Zzv-^sMniY74HfffdO`6@BO&T|BJe)wi|Njx{%s;l% z$Y)kXBB(Ts&8QioZz9L+OwhCk6xD9g5Ohy4KGpg$vrgK-s9W2hA?@$f!Tn@d{54r% z%X&Tvd=&X8@ll77WlX}ycCgMqp2gHynDl^DVojwndZU>ZSk>2q&yys*AuVk~K6vz> z_a8hoi^h`5Pd~k{*3^)HaY53XO!`GZQ5G#XZrq^Nd-qmJHk;+MeE)guKd`!LRg{&L zn`kR5fy2B76vZLky?fW_R+P$&wY4=vv7+qj=tt{2ytk^U_v>iKYO_~Y6-BgC`{IHK zLyPIMv(T8Hos(m?rW>;ii!QxhZ!l$9EEb#1mYIpcmXnj?Q0&g!9K~+SwxwsJ%ZoZ} zuv(Y6M=Y0>If~)YojZ3P%1UloWrb?Jot>Rqy1TJ!U|`@_i+_((QU0A?YoF zkJnZo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