NSLayoutManager - measuring text with trailing space
NSLayoutManager - measuring text with trailing space
- Subject: NSLayoutManager - measuring text with trailing space
- From: Scott Thompson <email@hidden>
- Date: Mon, 2 Oct 2006 15:01:57 -0500
I asked about a similar issue a while back, but this time I'm trying
to do something different.
I have a line of text in an NSAttributedString that contains trailing
spaces. I want to measure the text taking the whitespace into
account. The NSLayoutManager routines I've used return the actual
bounds that are covered with glyphs, but ignore the trailing space.
Is there some way to measure the text with that space accounted for?
Scott
_______________________________________________
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