Choose an NSFont with specific line height?
Choose an NSFont with specific line height?
- Subject: Choose an NSFont with specific line height?
- From: Mike Blaguszewski <email@hidden>
- Date: Mon, 17 Apr 2006 14:33:43 -0400
I'm trying to draw a few lines of text into a custom NSCell of
arbitrary height. So I know what height I need each line of text to
be, and I'd like to get an instance of NSFont with that line height.
(Line wrapping isn't an issue here.) I know how to calculate line
height given a font of a certain point size, but short of doing a
brute force search, I don't know how to go the other way. Any ideas?
--
Mike Blaguszewski / Ambrosia Software, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden