Fix MarkAttachmentType matching

Fixes issue reported by Khaled Hosny with his Hussaini Nastaleeq font
and sequences like those added in the previous commit.
This commit is contained in:
Behdad Esfahbod 2012-07-16 22:43:17 -04:00
parent 6de103547e
commit 559f706678
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ _hb_ot_layout_match_properties_mark (hb_face_t *face,
* "ignore marks of attachment type different than
* the attachment type specified."
*/
if (lookup_props & LookupFlag::MarkAttachmentType && glyph_props & LookupFlag::MarkAttachmentType)
if (lookup_props & LookupFlag::MarkAttachmentType)
return (lookup_props & LookupFlag::MarkAttachmentType) == (glyph_props & LookupFlag::MarkAttachmentType);
return true;