mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
[HB] Fix lookup_flag ignoring
Reported by Keith Stribley on HarfBuzz list.
This commit is contained in:
1 parent
52e9a71d57
commit
aa87d95173
2 files changed
+2
-1
No files matched your search
@@ -244,6 +244,7 @@ struct LookupFlag : USHORT
|
||||
IgnoreBaseGlyphs = 0x0002u,
|
||||
IgnoreLigatures = 0x0004u,
|
||||
IgnoreMarks = 0x0008u,
|
||||
IgnoreFlags = 0x000Eu,
|
||||
UseMarkFilteringSet = 0x0010u,
|
||||
Reserved = 0x00E0u,
|
||||
MarkAttachmentType = 0xFF00u
|
||||
|
||||
+1
-1
@@ -148,7 +148,7 @@ _hb_ot_layout_check_glyph_property (hb_face_t *face,
|
||||
/* Not covered, if, for example, glyph class is ligature and
|
||||
* lookup_flags includes LookupFlags::IgnoreLigatures
|
||||
*/
|
||||
if (property & lookup_flags)
|
||||
if (property & lookup_flags & LookupFlag::IgnoreFlags)
|
||||
return false;
|
||||
|
||||
if (property & HB_OT_LAYOUT_GLYPH_CLASS_MARK)
|
||||
|
||||
Reference in new issue
Block a user