Re: How to get NSGlyph from unichar?
Re: How to get NSGlyph from unichar?
- Subject: Re: How to get NSGlyph from unichar?
- From: Douglas Davidson <email@hidden>
- Date: Tue, 15 Feb 2005 09:07:58 -0800
On 2005-02-15 02:34:16 -0800 Magnus Strand <email@hidden>
wrote:
Thanks, I will try to do this with NSLayoutManager, because I
need to calculate width of kerned text.
If you are trying to measure text, NSLayoutManager will definitely
help. Just using NSFont methods to size glyphs will not get the
contextual positioning, rearrangement (for complex scripts), and so
forth that you get using NSLayoutManager as an interface to
NSTypesetter. There are also convenience methods in NSStringDrawing.h
for simple measurements.
Douglas Davidson
_______________________________________________
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