Re: Loading a TTF font
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.