From d016c5bdb94704e726b104c318262b47c6a4b7c8 Mon Sep 17 00:00:00 2001 From: David Corbett Date: Fri, 27 Oct 2017 12:14:00 -0400 Subject: [PATCH] Categorize Grantha candrabindu for use in Tamil --- src/hb-ot-shape-complex-indic.cc | 2 +- .../b151cfcdaa77585d77f17a42158e0873fc8e2633.ttf | Bin 0 -> 1120 bytes test/shaping/tests/indic-script-extensions.tests | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 test/shaping/fonts/sha1sum/b151cfcdaa77585d77f17a42158e0873fc8e2633.ttf diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index 1937380b8..0cb326aa8 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -217,7 +217,7 @@ set_indic_properties (hb_glyph_info_t &info) /* According to ScriptExtensions.txt, these Grantha marks may also be used in Tamil, * so the Indic shaper needs to know their categories. */ - else if (unlikely (u == 0x11303u)) cat = OT_SM; + else if (unlikely (u == 0x11301u || u == 0x11303u)) cat = OT_SM; else if (unlikely (u == 0x1133cu)) cat = OT_N; else if (unlikely (u == 0x0AFBu)) cat = OT_N; /* https://github.com/behdad/harfbuzz/issues/552 */ diff --git a/test/shaping/fonts/sha1sum/b151cfcdaa77585d77f17a42158e0873fc8e2633.ttf b/test/shaping/fonts/sha1sum/b151cfcdaa77585d77f17a42158e0873fc8e2633.ttf new file mode 100644 index 0000000000000000000000000000000000000000..531f255f38def0e8e540047e7126253ab3bfe321 GIT binary patch literal 1120 zcmZuwO=uHA6#izjDY22XnzmMvbQKFN)TW7AMMP*5tGD_S5PPWIW@8iUCNbI6suxAD z)+$!;B6^b|T0udff*#b9h-VLiD5&7QO14D0ezRLI;w*3G{e16xGxK%^Q>j7J;{trp z5(5L;&8Ls=0C)z7HT#qM2GGO^)C2Uj4jzfd^>+O}plqi-k~Z}s+KMT__k{LjHlrKC z@xAAn`<8ZZmJZ*9vXS^k+FP=wHR5>{j*n#TonV z(k*{gYnZK0udQxb1HTY~P}7cNC7N`Web+Hz>vz7l%gVn^+G%~xBfrK$@x)P-hhi%Y}JT75Nn zz4>!pE#f$D1bQ9kj05VI9LzY*Gl7p&RW0znE;@JQYvj|+{TDYD1EK1>Z?9$MD^;rx z+4D`aVR^!^Iai*apS$Re4GGHE$JP z5EE>z0>4Ya2>b5#dL{SZiG2oM1s^(&Pjhx*Xay$s?hTDymX?ZMZbPW6sP|JmT_8fs z(-nj;vZ9ADfjkl@pop_5A%`(!VUeo?X>@XpqX#kUL>KiWbmDU`sLPxZMv)=fLW&U+ zr|8wmXE35OmUHzA4ihzo3gbE>lHX#zGIk@%FHK*D5sUZ