#include "wx/graphics.h"
#include "wx/settings.h"
-#include "wx/mac/uma.h"
+#include "wx/osx/uma.h"
#ifndef __DARWIN__
#include <ATSUnicode.h>
wxFontRefData::wxFontRefData( wxUint32 coreTextFontType )
{
CTFontRef font = CTFontCreateUIFontForLanguage( coreTextFontType, 0.0, NULL ) ;
- if ( CTFontGetSize(m_ctFont) == 0 )
+ if ( CTFontGetSize(font) == 0 )
{
CFRelease(font);
font = CTFontCreateUIFontForLanguage( coreTextFontType, 12.0, NULL );
break ;
case wxSWISS :
- m_faceName = wxT("Lucida Grande");
+ m_faceName = wxT("Helvetica");
break ;
case wxMODERN :
case wxTELETYPE:
- m_faceName = wxT("Monaco");
+ m_faceName = wxT("Courier");
break ;
default:
m_ctFont.reset( CTFontCreateWithFontDescriptor( m_ctFontDescriptor, m_pointSize, NULL ) );
#endif
}
-#if wxMAC_USE_ATSU_TEXT == 0
+#if wxMAC_USE_ATSU_TEXT
OSStatus status = noErr;
CTFontDescriptorRef desc = m_ctFontDescriptor ;
ATSFontRef atsfont = CTFontGetPlatformFont( m_ctFont, &desc );
break ;
case wxSWISS :
- m_faceName = wxT("Lucida Grande");
+ m_faceName = wxT("Helvetica");
break ;
case wxMODERN :
case wxTELETYPE:
- m_faceName = wxT("Monaco");
+ m_faceName = wxT("Courier");
break ;
default: