mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-29 17:20:13 +01:00
quartz-font: Fix transposed constants
kCTFontColorGlyphsTrait is available in Mac OS X 10.7 and later. kCTFontTraitColorGlyphs is available in OS X 10.8 and later. Fixes build failure on Mac OS X 10.7. Closes #810
This commit is contained in:
parent
f9de19ad74
commit
85f021b1f1
1 changed files with 2 additions and 2 deletions
|
|
@ -77,10 +77,10 @@ static const CGFloat font_scale = 1.0;
|
|||
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1080
|
||||
#define FONT_ORIENTATION_HORIZONTAL kCTFontHorizontalOrientation
|
||||
#define FONT_COLOR_GLYPHS kCTFontTraitColorGlyphs
|
||||
#define FONT_COLOR_GLYPHS kCTFontColorGlyphsTrait
|
||||
#else
|
||||
#define FONT_ORIENTATION_HORIZONTAL kCTFontOrientationHorizontal
|
||||
#define FONT_COLOR_GLYPHS kCTFontColorGlyphsTrait
|
||||
#define FONT_COLOR_GLYPHS kCTFontTraitColorGlyphs
|
||||
#endif
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue