From b3395a7aa36ff1ba5a17f494fbf359ec317a7e69 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 28 Dec 2006 06:31:18 -0500 Subject: [PATCH] Don't shift down the mark attachment type --- src/harfbuzz-open-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/harfbuzz-open-private.h b/src/harfbuzz-open-private.h index f3f7ecd..326e1c6 100644 --- a/src/harfbuzz-open-private.h +++ b/src/harfbuzz-open-private.h @@ -440,7 +440,7 @@ struct Lookup { inline bool ignore_base_glyphs(void) const { return lookupFlag & LookupFlag::IgnoreBaseGlyphs; } inline bool ignore_ligatures (void) const { return lookupFlag & LookupFlag::IgnoreLigatures; } inline bool ignore_marks (void) const { return lookupFlag & LookupFlag::IgnoreMarks; } - inline bool get_mark_attachment_type (void) const { return (lookupFlag & LookupFlag::MarkAttachmentType) >> 8; } + inline bool get_mark_attachment_type (void) const { return lookupFlag & LookupFlag::MarkAttachmentType; } USHORT lookupType; /* Different enumerations for GSUB and GPOS */ USHORT lookupFlag; /* Lookup qualifiers */ -- 2.7.4