Re: what is error -7000 when activating fonts?
Subject : Re: what is error -7000 when activating fonts?
From: John Stiles <email@hidden >
Date: Fri, 29 Dec 2006 13:56:35 -0800
Delivered-to: email@hidden
Delivered-to: email@hidden
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:
http://lists.apple.com/mailman/options/cocoa-dev/jstiles%
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.