From 751ed68fee1d32f8a2c13b4fdc4bfaa9856608e8 Mon Sep 17 00:00:00 2001 From: David Corbett Date: Sun, 14 Feb 2021 12:47:34 -0500 Subject: [PATCH] [indic] Fix shaping of U+0B55 ORIYA SIGN OVERLINE Fixes https://github.com/harfbuzz/harfbuzz/issues/2849 --- src/hb-ot-shape-complex-indic.hh | 1 + .../b3075ca42b27dde7341c2d0ae16703c5b6640df0.ttf | Bin 0 -> 920 bytes .../data/in-house/tests/indic-syllable.tests | 2 ++ 3 files changed, 3 insertions(+) create mode 100644 test/shaping/data/in-house/fonts/b3075ca42b27dde7341c2d0ae16703c5b6640df0.ttf diff --git a/src/hb-ot-shape-complex-indic.hh b/src/hb-ot-shape-complex-indic.hh index 8c6e17184..63dc93ea9 100644 --- a/src/hb-ot-shape-complex-indic.hh +++ b/src/hb-ot-shape-complex-indic.hh @@ -363,6 +363,7 @@ set_indic_properties (hb_glyph_info_t &info) else if (unlikely (u == 0x1133Bu || u == 0x1133Cu)) cat = OT_N; else if (unlikely (u == 0x0AFBu)) cat = OT_N; /* https://github.com/harfbuzz/harfbuzz/issues/552 */ + else if (unlikely (u == 0x0B55u)) cat = OT_N; /* https://github.com/harfbuzz/harfbuzz/issues/2849 */ else if (unlikely (u == 0x0980u)) cat = OT_PLACEHOLDER; /* https://github.com/harfbuzz/harfbuzz/issues/538 */ else if (unlikely (u == 0x09FCu)) cat = OT_PLACEHOLDER; /* https://github.com/harfbuzz/harfbuzz/pull/1613 */ diff --git a/test/shaping/data/in-house/fonts/b3075ca42b27dde7341c2d0ae16703c5b6640df0.ttf b/test/shaping/data/in-house/fonts/b3075ca42b27dde7341c2d0ae16703c5b6640df0.ttf new file mode 100644 index 0000000000000000000000000000000000000000..4d0b3cdea9dd7011ec56376cc138244cf38c178d GIT binary patch literal 920 zcmZuvO=uHA7=1IlX`+#uVp=>D*;J7fswUesSW%Ir?LmZumKMpyu1VTd@<)lQ{)WRim z`Nh3wfOtjka<*hu{qrNg0eOOaX4R@!`+X{*waI;}#n#I9-tZ{x58Ss4c`JANeEK`% zZ;;0ebZ9&B5&2{CbA?i)ssHM|C2x`kij}N|YdAw5BR^iUnpJplj66tgl&w;JFg3o! z`f2k0YNg)z@&09o^>2|UAYdXX6LNu3h{xjQNN`}x?Cf?ryI<6&L&Y?epXHY7`qbpm z+39v$ZXL8(q8FCi{hL}qorutIs23Jvy{}qej+8Mve2_$k*~XF25c{5RPpN&R-psJ;sT->tL4MT~ zf}BHy=yN(}hU@-C{sTC)x;x!Z-8V;i^&+F9b-p9tNaa(uV0#JImKem0Yipdryld