[futurebasic] Re: [FB] Beginners Corner: Using call getfnum(fontname$, font%)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2010 : Group Archive : Group : All Groups

From: Brian Stevens <bstevens33@...>
Date: Sun, 17 Jan 2010 20:29:10 -0700
On Jan 17, 2010, at 3:31 PM, Emmett wrote:

> call getfnum


This call was deprecated by Apple in OS X 10.4. Unfortunately, there  
are many gaps in FB Help and the current user manual. The use of  
GetFNum for the Text statement is one example. Even though  
FMGetFontFamilyName is also deprecated in 10.4, it is preferred ( see  
GetFNum documentation in Xcode ). Try the example Ken posted.  
Technically, ATSFontFamilyGetName() is the recommended call for Carbon.

Brian S