diff options
Diffstat (limited to 'vcl/quartz')
-rw-r--r-- | vcl/quartz/ctfonts.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx index d2e3d3259db2..38cf249cfaf2 100644 --- a/vcl/quartz/ctfonts.cxx +++ b/vcl/quartz/ctfonts.cxx @@ -27,6 +27,10 @@ #ifdef MACOSX #include "osx/salinst.h" #include "osx/saldata.hxx" +// kCTForegroundColorFromContextAttributeName is available on 10.5, but it is "hidden" +#ifndef kCTForegroundColorFromContextAttributeName +extern const CFStringRef kCTForegroundColorFromContextAttributeName; +#endif #endif #include "quartz/salgdi.h" #include "quartz/utils.h" @@ -103,7 +107,6 @@ CoreTextStyle::CoreTextStyle( const FontSelectPattern& rFSD ) // allow delayed setting the font color, i.e. after the text layout CFDictionarySetValue( mpStyleDict, kCTForegroundColorFromContextAttributeName, kCFBooleanTrue ); - #if 0 // LastResort is implicit in CoreText's font cascading const void* aGFBDescriptors[] = { CTFontDescriptorCreateWithNameAndSize( CFSTR("LastResort"), 0) }; // TODO: use the full GFB list const int nGfbCount = sizeof(aGFBDescriptors) / sizeof(*aGFBDescriptors); |