• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [SOLVED] Loading NSFont from file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Loading NSFont from file (From: Brad Peterson <email@hidden>)

  • Prev by Date: Outline view and expanding most recent item
  • Next by Date: Re: firstLineHeadIndent item in NSParagraphStyle dictionary
  • Previous by thread: Re: Loading NSFont from file
  • Next by thread: Re: Absolute path to the Application
  • Index(es):
    • Date
    • Thread