提交 8f034d58 编写于 作者: B Behdad Esfahbod

Fix a few other pedantic warnings

上级 864e2560
......@@ -246,7 +246,7 @@ struct LookupFlag : USHORT
IgnoreMarks = 0x0008u,
UseMarkFilteringSet = 0x0010u,
Reserved = 0x00E0u,
MarkAttachmentType = 0xFF00u,
MarkAttachmentType = 0xFF00u
};
};
ASSERT_SIZE (LookupFlag, 2);
......
......@@ -305,7 +305,7 @@ struct GDEF
BaseGlyph = 1,
LigatureGlyph = 2,
MarkGlyph = 3,
ComponentGlyph = 4,
ComponentGlyph = 4
};
STATIC_DEFINE_GET_FOR_DATA_CHECK_MAJOR_VERSION (GDEF, 1, 1);
......
......@@ -49,7 +49,7 @@ struct ValueFormat : USHORT
xAdvDevice = 0x0040, /* Includes horizontal Device table for advance */
yAdvDevice = 0x0080, /* Includes vertical Device table for advance */
ignored = 0x0F00, /* Was used in TrueType Open for MM fonts */
reserved = 0xF000, /* For future use */
reserved = 0xF000 /* For future use */
};
inline unsigned int get_len () const
......@@ -1299,7 +1299,7 @@ struct PosLookupSubTable
MarkMark = 6,
Context = 7,
ChainContext = 8,
Extension = 9,
Extension = 9
};
inline bool apply (APPLY_ARG_DEF, unsigned int lookup_type) const
......
......@@ -675,7 +675,7 @@ struct SubstLookupSubTable
Context = 5,
ChainContext = 6,
Extension = 7,
ReverseChainSingle = 8,
ReverseChainSingle = 8
};
inline bool apply (APPLY_ARG_DEF, unsigned int lookup_type) const
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册