make GRF_HANGING_PUNC_FIRST and GRF_HANGING_PUNC_LAST as flag bits

This commit is contained in:
Vincent Wei
2019-01-18 18:07:44 +08:00
parent 547fc0059c
commit 856126c72e
+4 -4
View File
@@ -9592,10 +9592,10 @@ MG_EXPORT int GUIAPI GetGlyphsByRules(LOGFONT* logfont,
#define GRF_HANGING_PUNC_MASK 0x00000F00
#define GRF_HANGING_PUNC_NONE 0x00000000
#define GRF_HANGING_PUNC_FIRST 0x00000100
#define GRF_HANGING_PUNC_FORCE_END 0x00000200
#define GRF_HANGING_PUNC_ALLOW_END 0x00000300
#define GRF_HANGING_PUNC_LAST 0x00000400
#define GRF_HANGING_PUNC_FORCE_END 0x00000100
#define GRF_HANGING_PUNC_ALLOW_END 0x00000200
#define GRF_HANGING_PUNC_FIRST 0x00000400 // flag bit
#define GRF_HANGING_PUNC_LAST 0x00000800 // flag bit
#define GRF_DIRECTION_MASK 0x00003000
#define GRF_DIRECTION_LTR 0x00000000