Weird NSFontManager Behavior
Weird NSFontManager Behavior
- Subject: Weird NSFontManager Behavior
- From: Andre Schnoor <email@hidden>
- Date: Wed, 26 Mar 2008 21:32:45 +0100
Hi All,
hopefully someone can shed a bit light on this strange issue:
[[NSFontManager sharedFontManager]
fontWithFamily: @"Lucida_Grande"
traits: NSUnitalicFontMask | NSBoldFontMask
weight: 0.5
size: 14.0]
delivers the correct font when the application was launched by double-
clicking on its icon, but returns nil when the app was launched from a
shell:
/path/to/MyApp.app/Contents/MacOS/mybinary
How can that happen? How is NSFontManager supposed to be influenced by
the way an application was launched?
Any hint is appreciated.
Andre
_______________________________________________
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