I need to be able to do this same thing and found this old thread and reply:
http://lists.apple.com/archives/Cocoa-dev/2007/Jan/msg00577.html
I assume the answer has not changed. Unfortunately, the link
<http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/platform/mac/FontMac.mm#L583>
is no longer valid and I was wondering if anyone knew what the appropriate
NSAffineTransform would be to pass into +fontWithDescriptor:textTransform:
Ultimately, I believe the call I will want to make is:
[NSFont fontWithDescriptor:[[NSFont
systemFontSizeForControlSize:NSMiniControlSize] fontDescriptor]
textTransform:italicTransform];
Thank you.
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]