bool Create(const wxNativeFontInfo& info);
- bool MacCreateThemeFont( wxUint16 themeFontID ) ;
-#ifdef __LP64__
- bool MacCreateUIFont( wxUint32 coreTextFontType );
+ bool MacCreateFromThemeFont( wxUint16 themeFontID ) ;
+#if wxMAC_USE_CORE_TEXT
+ bool MacCreateFromUIFont( wxUint32 coreTextFontType );
+ bool MacCreateFromCTFontDescriptor( const void * ctFontDescriptor, int pointSize = 0 );
+ bool MacCreateFromCTFont( const void * ctFont );
#endif
virtual ~wxFont();
// Mac-specific, risks to change, don't use in portable code
-#ifndef __LP64__
+#if wxMAC_USE_ATSU_TEXT
// 'old' Quickdraw accessors
short MacGetFontNum() const;
short MacGetFontSize() const;
wxUint16 MacGetThemeFontID() const ;
// Returns an ATSUStyle not ATSUStyle*
- void* MacGetATSUStyle() const ;
-#else
+#endif
+#if wxMAC_USE_CORE_TEXT
const void * MacGetCTFont() const;
- // soon to be removed for 64bit, Returns an ATSUStyle not ATSUStyle*
+ const void * MacGetCTFontDescriptor() const;
+#endif
+#if wxMAC_USE_CORE_TEXT || wxMAC_USE_ATSU_TEXT
void* MacGetATSUStyle() const ;
#endif