[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Oct 28 13:01:03 PDT 2013


 src/hb-ot-layout-gsubgpos-private.hh |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 3d436d325edccc0f3dd820e06e3d529cc8f3eca4
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Oct 28 21:00:37 2013 +0100

    [otlayout] Reset ccc when marking glyph as letter

diff --git a/src/hb-ot-layout-gsubgpos-private.hh b/src/hb-ot-layout-gsubgpos-private.hh
index 16c96fa..bfe8ffa 100644
--- a/src/hb-ot-layout-gsubgpos-private.hh
+++ b/src/hb-ot-layout-gsubgpos-private.hh
@@ -894,7 +894,10 @@ static inline void ligate_input (hb_apply_context_t *c,
   {
     _hb_glyph_info_set_lig_props_for_ligature (&buffer->cur(), lig_id, total_component_count);
     if (_hb_glyph_info_get_general_category (&buffer->cur()) == HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK)
+    {
       _hb_glyph_info_set_general_category (&buffer->cur(), HB_UNICODE_GENERAL_CATEGORY_OTHER_LETTER);
+      _hb_glyph_info_set_modified_combining_class (&buffer->cur(), 0);
+    }
   }
   c->replace_glyph_with_ligature (lig_glyph, klass);
 



More information about the HarfBuzz mailing list