Merge pull request #543 from daisuzu/Fix/DRAW_WIDE

Fix drawing wide char
This commit is contained in:
Kazuki Sakamoto
2017-09-07 08:27:23 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@
#define DRAW_UNDERC 0x08 /* draw undercurl text */
#define DRAW_ITALIC 0x10 /* draw italic text */
#define DRAW_CURSOR 0x20
#define DRAW_WIDE 0x40 /* draw wide text */
#define DRAW_WIDE 0x80 /* draw wide text */
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
#define kCTFontOrientationDefault kCTFontDefaultOrientation
+1 -1
View File
@@ -51,7 +51,7 @@
#define DRAW_UNDERC 0x08 /* draw undercurl text */
#define DRAW_ITALIC 0x10 /* draw italic text */
#define DRAW_CURSOR 0x20
#define DRAW_WIDE 0x40 /* draw wide text */
#define DRAW_WIDE 0x80 /* draw wide text */
static NSString *MMWideCharacterAttributeName = @"MMWideChar";