Re: Get font name and size chosen
Re: Get font name and size chosen
- Subject: Re: Get font name and size chosen
- From: "I. Savant" <email@hidden>
- Date: Wed, 23 Jan 2008 09:44:33 -0500
> I get a font name which is different than the font name shown on the Font
> Panel. Also I don't know how to get the font size. So please how to get the
> "same" name and style and size I can see on the FontPanel?
I suggest you give this document a thorough read:
http://developer.apple.com/documentation/Cocoa/Conceptual/FontHandling/FontHandling.html
Also, read the NSFont API reference for -fontName ... "Returns the
receiver's full font name, as used in PostScript language codeāfor
example, 'Times-Roman' or 'Helvetica-Oblique.'" ... is that really
what you want or should you maybe read the descriptions of all the
other methods NSFont has to offer and see if one of those suits you
better?
--
I.S.
_______________________________________________
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