NSFont Styles (Faces)
NSFont Styles (Faces)
- Subject: NSFont Styles (Faces)
- From: Rosyna <email@hidden>
- Date: Wed, 5 Feb 2003 13:25:48 -0700
In QuickDraw, I can draw a string using any sort of face (style) I
choose like bold, italic, condensed, extended, outline, and shadow.
But I can't figure out how to do this via an NSAttributedString.
bold, italic, condensed and extended I can only get if the font
supports it and shadow and outline I can't get *at all*. Is this even
possible? How can I do it even for fonts that don't support these
attributes?
On another note, is it possible to create an NSFont with an
ATSFontRef, ATSFontID, or FMFont (all the same thing)? I do not like
using the name to get the font since it leaks.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
---
Please include any previous correspondence in replies, it helps me
remember what we were talking about. Thanks.
_______________________________________________
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.