kCTFontTableOptionExcludeSynthetic is deprecated in 10.8

Change-Id: Ic5fc06e38db6f2111d516c53b6d1be2e47a7ced7
This commit is contained in:
Tor Lillqvist
2013-06-16 11:44:59 +03:00
parent aa539f6c9d
commit fa76a7159a

View File

@@ -311,7 +311,7 @@ int CTFontData::GetFontTable( const char pTagName[5], unsigned char* pResultBuf
// get the raw table length
CTFontDescriptorRef pFontDesc = reinterpret_cast<CTFontDescriptorRef>( GetFontId());
CTFontRef rCTFont = CTFontCreateWithFontDescriptor( pFontDesc, 0.0, NULL);
#ifdef MACOSX
#if defined(MACOSX) && MACOSX_SDK_VERSION < 1080
const uint32_t opts( kCTFontTableOptionExcludeSynthetic );
#else
const uint32_t opts( kCTFontTableOptionNoOptions );