Re: [SOLVED] Loading NSFont from file
Re: [SOLVED] Loading NSFont from file
- Subject: Re: [SOLVED] Loading NSFont from file
- From: Matt Neuburg <email@hidden>
- Date: Thu, 16 Aug 2007 08:59:02 -0700
- Thread-topic: [SOLVED] Loading NSFont from file
On Fri, 3 Aug 2007 07:57:00 -0700 (PDT), Brad Peterson <email@hidden>
said:
>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.
Actually, there's a simpler way. It turns out that in Xcode there's a
setting Preserve HFS Data. This means that when Xcode assembles your project
by copying stuff into the Resources folder or whatever, it won't strip out
the resource fork. Problem solved. (And the reason I know about this is that
I had exactly the same problem you're describing.) m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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