diff --git a/src/hb-ot-layout-gdef-table.hh b/src/hb-ot-layout-gdef-table.hh index f0e040cfa..389cbb9e3 100644 --- a/src/hb-ot-layout-gdef-table.hh +++ b/src/hb-ot-layout-gdef-table.hh @@ -391,7 +391,6 @@ struct GDEF default: return 0; case BaseGlyph: return HB_OT_LAYOUT_GLYPH_PROPS_BASE_GLYPH; case LigatureGlyph: return HB_OT_LAYOUT_GLYPH_PROPS_LIGATURE; - case ComponentGlyph: return HB_OT_LAYOUT_GLYPH_PROPS_COMPONENT; case MarkGlyph: klass = get_mark_attachment_type (glyph); return HB_OT_LAYOUT_GLYPH_PROPS_MARK | (klass << 8); diff --git a/src/hb-ot-layout-gsub-table.hh b/src/hb-ot-layout-gsub-table.hh index 28ba3b9d9..a07a77925 100644 --- a/src/hb-ot-layout-gsub-table.hh +++ b/src/hb-ot-layout-gsub-table.hh @@ -292,7 +292,8 @@ struct Sequence if (unlikely (!substitute.len)) return TRACE_RETURN (false); unsigned int klass = c->buffer->cur().glyph_props() & - HB_OT_LAYOUT_GLYPH_PROPS_LIGATURE ? HB_OT_LAYOUT_GLYPH_PROPS_BASE_GLYPH : 0; + HB_OT_LAYOUT_GLYPH_PROPS_LIGATURE ? + HB_OT_LAYOUT_GLYPH_PROPS_BASE_GLYPH : 0; unsigned int count = substitute.len; if (count == 1) /* Special-case to make it in-place. */ { diff --git a/src/hb-ot-layout-private.hh b/src/hb-ot-layout-private.hh index 2d7afb09f..92d7bdc0a 100644 --- a/src/hb-ot-layout-private.hh +++ b/src/hb-ot-layout-private.hh @@ -121,10 +121,13 @@ _hb_glyph_info_flip_joiners (hb_glyph_info_t *info) */ typedef enum { + /* One bit available here... = 0x01u */ + + /* The following three match LookupFlags::Ignore* numbers. */ HB_OT_LAYOUT_GLYPH_PROPS_BASE_GLYPH = 0x02u, HB_OT_LAYOUT_GLYPH_PROPS_LIGATURE = 0x04u, - HB_OT_LAYOUT_GLYPH_PROPS_MARK = 0x08u, - HB_OT_LAYOUT_GLYPH_PROPS_COMPONENT = 0x10u, /* Unused; can be removed. */ + HB_OT_LAYOUT_GLYPH_PROPS_MARK = 0x08u + } hb_ot_layout_glyph_class_mask_t;