[otlayout] Add _hb_glyph_info_substituted()

Currently unused.
This commit is contained in:
Behdad Esfahbod 2013-10-18 01:11:05 +02:00
parent a1f7b28561
commit 8570273414

View File

@ -370,6 +370,12 @@ _hb_glyph_info_is_mark (const hb_glyph_info_t *info)
return !!(info->glyph_props() & HB_OT_LAYOUT_GLYPH_PROPS_MARK); return !!(info->glyph_props() & HB_OT_LAYOUT_GLYPH_PROPS_MARK);
} }
static inline bool
_hb_glyph_info_substituted (const hb_glyph_info_t *info)
{
return !!(info->glyph_props() & HB_OT_LAYOUT_GLYPH_PROPS_SUBSTITUTED);
}
static inline bool static inline bool
_hb_glyph_info_ligated (const hb_glyph_info_t *info) _hb_glyph_info_ligated (const hb_glyph_info_t *info)
{ {