• 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: Loading a TTF font
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading a TTF font


  • Subject: Re: Loading a TTF font
  • From: Andrew Thompson <email@hidden>
  • Date: Fri, 10 Oct 2003 20:36:19 -0400

On Friday, Oct 10, 2003, at 01:19 America/New_York, John Stiles wrote:

No idea; I don't have a font panel in my app.
Everything returns a "noErr" OSStatus though.

On Thursday, October 9, 2003, at 10:10 PM, Andrew Thompson wrote:


On Thursday, Oct 9, 2003, at 18:41 America/New_York, John Stiles wrote:

Unfortunately, I get NULL back from ATSFontGetPostScriptName when I use Papyrus.dfont. It is the same result as ATSFontGetName.

(FrizQuadrata.ttf continues to work. It reports its name as "FrizQuadrataTT".)


After you activate the font, it should show up in the list managed by NSFontManager?

Or is it not added?


Just FYI ... you can use NSFontManager just fine without needing to show or even think about NSFontPanel.
Its completely gui-less, and quite useful. Just do [NSFontManager sharedFontManager] to get the regular singleton instance.


AndyT (lordpixel - the cat who walks through walls)
A little bigger on the inside

(see you later space cowboy ...)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Loading a TTF font (From: John Stiles <email@hidden>)

  • Prev by Date: Sending data to libxslt
  • Next by Date: Re: Number formatting
  • Previous by thread: Re: Loading a TTF font
  • Next by thread: Multiple Nibs help?
  • Index(es):
    • Date
    • Thread