Add _hb_glyph_info_is_unicode_mark()

Unused right now.
This commit is contained in:
Behdad Esfahbod 2015-11-04 13:17:33 -08:00
parent 90d75f93bb
commit 2f38dde5a1
1 changed files with 6 additions and 0 deletions

View File

@ -267,6 +267,12 @@ _hb_glyph_info_get_general_category (const hb_glyph_info_t *info)
return (hb_unicode_general_category_t) (info->unicode_props() & UPROPS_MASK_GEN_CAT); return (hb_unicode_general_category_t) (info->unicode_props() & UPROPS_MASK_GEN_CAT);
} }
static inline bool
_hb_glyph_info_is_unicode_mark (const hb_glyph_info_t *info)
{
return HB_UNICODE_GENERAL_CATEGORY_IS_MARK (info->unicode_props() & UPROPS_MASK_GEN_CAT);
}
static inline void static inline void
_hb_glyph_info_set_modified_combining_class (hb_glyph_info_t *info, _hb_glyph_info_set_modified_combining_class (hb_glyph_info_t *info,
unsigned int modified_class) unsigned int modified_class)