From 9f6144cdb9dd2bc8cd147306e678d76ae82663d8 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 4 Dec 2016 19:55:17 -0800 Subject: [PATCH] [CBDT] Add test for fetching glyph extents --- test/shaping/Makefile.am | 1 + .../ee39587d13b2afa5499cc79e45780aa79293bbd4.ttf | Bin 0 -> 3724 bytes test/shaping/tests/color-fonts.tests | 1 + 3 files changed, 2 insertions(+) create mode 100644 test/shaping/fonts/sha1sum/ee39587d13b2afa5499cc79e45780aa79293bbd4.ttf create mode 100644 test/shaping/tests/color-fonts.tests diff --git a/test/shaping/Makefile.am b/test/shaping/Makefile.am index c5efe6251..57369fd5b 100644 --- a/test/shaping/Makefile.am +++ b/test/shaping/Makefile.am @@ -44,6 +44,7 @@ TESTS = \ tests/arabic-fallback-shaping.tests \ tests/arabic-feature-order.tests \ tests/cluster.tests \ + tests/color-fonts.tests \ tests/context-matching.tests \ tests/cursive-positioning.tests \ tests/default-ignorables.tests \ diff --git a/test/shaping/fonts/sha1sum/ee39587d13b2afa5499cc79e45780aa79293bbd4.ttf b/test/shaping/fonts/sha1sum/ee39587d13b2afa5499cc79e45780aa79293bbd4.ttf new file mode 100644 index 0000000000000000000000000000000000000000..fa2d0e1367cfe81695bb37e1389085f4bda4b8e6 GIT binary patch literal 3724 zcmbVPc|4SD_rJ&1*t1lY$U3%R#@NRi!&t^(2+7c7%Nk*jCHt0r4+$aJJ;{!-6ByWKIb0&z3 zK`egNiR4Is3EB_Z(;zEe1s&`$CrZHhSrCg{_4Erol>k}*gcB4{Pg0;apa-ac_7ji= zyhxr-H2F+9V4P9|=Y7rB@0S=54faRL7XT=|QvpzrDMXQwW1kivbL^qSA?iMpkZW!B ztZF*|BlOt)s(TE)0|2~@tO)>s-%RwoCpvBn_Yi09rZP+u#xYKbra-;7r9%X^M{i?*sp}u_h*1KVLjX1C2g0G0BFjo6%wPclQ=Ek^&eaF;ztTZB?>7(RdfVB7I|5hCB~_JW zvI9lyZwX&8lp3!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