[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Oct 2 12:50:53 UTC 2017


 src/hb-ot-shape-complex-indic.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1a0a356a0f2b2932581e4fd0437c01c058f4f6d1
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Oct 2 08:49:23 2017 -0400

    [indic] Categorize U+0980 BENGALI ANJI as placeholder
    
    Fixes https://github.com/behdad/harfbuzz/issues/538

diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc
index 3cd8fd6c..5acaadb5 100644
--- a/src/hb-ot-shape-complex-indic.cc
+++ b/src/hb-ot-shape-complex-indic.cc
@@ -209,6 +209,7 @@ set_indic_properties (hb_glyph_info_t &info)
     pos = POS_ABOVE_C;
   }
 
+  else if (unlikely (u == 0x0980u)) cat = OT_PLACEHOLDER; /* https://github.com/behdad/harfbuzz/issues/538 */
   else if (unlikely (u == 0x17C6u)) cat = OT_N; /* Khmer Bindu doesn't like to be repositioned. */
   else if (unlikely (hb_in_range<hb_codepoint_t> (u, 0x2010u, 0x2011u)))
 				    cat = OT_PLACEHOLDER;


More information about the HarfBuzz mailing list