no 10.4 support anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -65,19 +65,6 @@ bool wxFontEnumerator::EnumerateFacenames(wxFontEncoding encoding,
|
|||||||
status = ATSFontFamilyIteratorNext( theFontFamilyIterator, &theATSFontFamilyRef );
|
status = ATSFontFamilyIteratorNext( theFontFamilyIterator, &theATSFontFamilyRef );
|
||||||
if(status == noErr)
|
if(status == noErr)
|
||||||
{
|
{
|
||||||
#ifndef __LP64__
|
|
||||||
// TODO CS : Find replacement
|
|
||||||
// added CS : avoid showing fonts that won't be displayable
|
|
||||||
FMFontStyle intrinsicStyle = 0 ;
|
|
||||||
FMFont fontInstance ;
|
|
||||||
FMFontFamily fmFamily = FMGetFontFamilyFromATSFontFamilyRef( theATSFontFamilyRef );
|
|
||||||
status = FMGetFontFromFontFamilyInstance( fmFamily , 0 , &fontInstance , &intrinsicStyle);
|
|
||||||
if ( status != noErr )
|
|
||||||
{
|
|
||||||
status = noErr;
|
|
||||||
continue ;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
if ( encoding != wxFONTENCODING_SYSTEM )
|
if ( encoding != wxFONTENCODING_SYSTEM )
|
||||||
{
|
{
|
||||||
TextEncoding fontFamiliyEncoding = ATSFontFamilyGetEncoding(theATSFontFamilyRef) ;
|
TextEncoding fontFamiliyEncoding = ATSFontFamilyGetEncoding(theATSFontFamilyRef) ;
|
||||||
|
Reference in New Issue
Block a user