kCTFontTableOptionExcludeSynthetic is deprecated in 10.8
Change-Id: Ic5fc06e38db6f2111d516c53b6d1be2e47a7ced7
This commit is contained in:
@@ -311,7 +311,7 @@ int CTFontData::GetFontTable( const char pTagName[5], unsigned char* pResultBuf
|
|||||||
// get the raw table length
|
// get the raw table length
|
||||||
CTFontDescriptorRef pFontDesc = reinterpret_cast<CTFontDescriptorRef>( GetFontId());
|
CTFontDescriptorRef pFontDesc = reinterpret_cast<CTFontDescriptorRef>( GetFontId());
|
||||||
CTFontRef rCTFont = CTFontCreateWithFontDescriptor( pFontDesc, 0.0, NULL);
|
CTFontRef rCTFont = CTFontCreateWithFontDescriptor( pFontDesc, 0.0, NULL);
|
||||||
#ifdef MACOSX
|
#if defined(MACOSX) && MACOSX_SDK_VERSION < 1080
|
||||||
const uint32_t opts( kCTFontTableOptionExcludeSynthetic );
|
const uint32_t opts( kCTFontTableOptionExcludeSynthetic );
|
||||||
#else
|
#else
|
||||||
const uint32_t opts( kCTFontTableOptionNoOptions );
|
const uint32_t opts( kCTFontTableOptionNoOptions );
|
||||||
|
Reference in New Issue
Block a user