revFontLoad returns "couldn't load font"

Devin Asay devin_asay at
Wed Jan 9 12:26:30 EST 2008

On Jan 9, 2008, at 9:23 AM, Trevor DeVore wrote:

> Hi,
> I am using revFontLoad to load a truetype font I created and am  
> distributing with an application. On most OS X systems this works  
> great. On one particular system revFontLoad returns "couldn't load  
> font". Before calling revFontLoad the existence of the font file  
> has already been verified.
> The offending system is running Mac OS X 10.4.11 (french). I have  
> at least one other tester who is running a french system and  
> doesn't experience any problems.
> Anybody have any experience with this particular error and know  
> what the problem might be?


In the old days, Mac fonts each had a unique ID, and if there was  
already a font on the system with the ID number of a font you were  
adding, it would cause strange problems. I don't know if OS X still  
uses this model, but it may be worth checking into.



Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

More information about the use-livecode mailing list