[otlayout] Remove two unused HB_OT_LAYOUT_GLYPH_PROPS_* values
This commit is contained in:
parent
941b699204
commit
03058c3d1e
|
@ -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);
|
||||
|
|
|
@ -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. */
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue