Re: [SOLVED] Loading NSFont from file
Re: [SOLVED] Loading NSFont from file
- Subject: Re: [SOLVED] Loading NSFont from file
- From: Brad Peterson <email@hidden>
- Date: Fri, 3 Aug 2007 07:57:00 -0700 (PDT)
Hi all,
Sorry; the problem was resource forks. *sigh*
I switched to using the Windows ver of the TTF font,
and then ATSFontActivateFromMemory worked as it
should.
Thanks!
--- Brad Peterson <email@hidden> wrote:
> Hi all,
>
> Just like the subject says, I'm trying to load a
> font
> from a resource file for use in my app.
>
> I've tried the code posted in this thread:
>
http://www.cocoabuilder.com/archive/message/cocoa/2004/8/4/113647
>
> However, it seems that most of those calls have
> since
> been deprecated.
>
> In any event, no fonts are loaded.
>
> Can anyone shed some light on this, please?
>
> What's the new & improved way to do this? :)
>
> Thanks!
>
> B
>
>
>
>
____________________________________________________________________________________
> Looking for a deal? Find great prices on flights and
> hotels with Yahoo! FareChase.
> http://farechase.yahoo.com/
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please 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
>
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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