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:
parent
6de103547e
commit
559f706678
|
@ -123,7 +123,7 @@ _hb_ot_layout_match_properties_mark (hb_face_t *face,
|
||||||
* "ignore marks of attachment type different than
|
* "ignore marks of attachment type different than
|
||||||
* the attachment type specified."
|
* 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 (lookup_props & LookupFlag::MarkAttachmentType) == (glyph_props & LookupFlag::MarkAttachmentType);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue