From 6f39c22029867c6d00cf70d7df242a28ca8f12bc Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 3 Oct 2018 20:06:32 +0200 Subject: [PATCH] Add code --- src/hb-ot-layout.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/hb-ot-layout.hh b/src/hb-ot-layout.hh index 24ff8ec56..d64489db0 100644 --- a/src/hb-ot-layout.hh +++ b/src/hb-ot-layout.hh @@ -339,6 +339,11 @@ _hb_glyph_info_set_continuation (hb_glyph_info_t *info) { info->unicode_props() |= UPROPS_MASK_CONTINUATION; } +static inline void +_hb_glyph_info_reset_continuation (hb_glyph_info_t *info) +{ + info->unicode_props() &= ~ UPROPS_MASK_CONTINUATION; +} static inline bool _hb_glyph_info_is_continuation (const hb_glyph_info_t *info) {