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: Fri, 29 Dec 2006 14:07:25 -0800
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