• 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
Change An NSFont's 'Leading'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Change An NSFont's 'Leading'


  • Subject: Change An NSFont's 'Leading'
  • From: Michael Hanna <email@hidden>
  • Date: Sun, 17 Aug 2003 17:33:01 -0400

Sorry about the missing subject in the previous email.

I set an NSTextView's font to Zapfino. It looks great but there's a lot of spacing between lines. How do I alter the NSFont so that the spacing is not so wide. I was trying to use NSMutableAttributedString but that seems to apply only to a subrange of chars. Does NSLayoutManager do this? Is there a message I can send it to alter line height? At a glance I can't seem to find it..

Michael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Change An NSFont's 'Leading'
      • From: Jörn Salewski <email@hidden>
  • Prev by Date: (no subject)
  • Next by Date: Re: line spacing of attributed string (was No Subject)
  • Previous by thread: Attaching an app window to another app
  • Next by thread: Re: Change An NSFont's 'Leading'
  • Index(es):
    • Date
    • Thread