Re: what is error -7000 when activating fonts?
Re: what is error -7000 when activating fonts?
- Subject: Re: what is error -7000 when activating fonts?
- From: Buddy Kurz <email@hidden>
- Date: Thu, 1 Feb 2007 13:59:02 -0800
Turns out this error shows up when the resource fork on the ttf file
has been stripped off by Xcode or PackageMaker.
On Dec 29, 2006, at 2:16 PM, John Stiles wrote:
That is bizarre.
Maybe it's a font for a script that the Mac OS can't handle…?
That's way out in left field, but I can't imagine what else it
might be.
On Dec 29, 2006, at 2:07 PM, Buddy Kurz wrote:
I found it after my initial question - how does language analysis
relate to loading fonts?
/*
Language Analysis error codes
*/
laEngineNotFoundErr = -7000 /* can't find the engine*/
On Dec 29, 2006, at 1:56 PM, John Stiles wrote:
Did you check MacErrors.h?
On Dec 29, 2006, at 12:23 PM, Buddy Kurz wrote:
This code reports an error number -7000
Anyone have a clue what that means? or where to find out?
This code works on my system but fails elsewhere - the fonts are
in my app resources
osstatus = ATSFontActivateFromFileSpecification (
&fsSpec,
kATSFontContextGlobal,
kATSFontFormatUnspecified,
NULL,
kATSOptionFlagsDefault,
NULL
);
if (osstatus) {
NSLog(@"error loading fonts:%d",osstatus);
}
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40blizzard.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden