• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSLayoutManager - measuring text with trailing space
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSLayoutManager - measuring text with trailing space
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Change titlecolor from NSWindow
  • Next by Date: Re: ireegular shaped TextContainer
  • Previous by thread: Copy Files with FSCopyObject?
  • Next by thread: Re: NSLayoutManager - measuring text with trailing space
  • Index(es):
    • Date
    • Thread