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

Re: Change An NSFont's 'Leading'


  • Subject: Re: Change An NSFont's 'Leading'
  • From: Jörn Salewski <email@hidden>
  • Date: Mon, 18 Aug 2003 03:07:22 +0200

Nothing to do with NSFont. Change the styles in the NSTextStorage. Use an
NSMutableParagraphStyle setLineSpacing.

Chears,

JS


am 17.08.2003 23:33 Uhr schrieb Michael Hanna unter email@hidden:

> 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.
_______________________________________________
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.

References: 
 >Change An NSFont's 'Leading' (From: Michael Hanna <email@hidden>)

  • Prev by Date: Re: Single-User Database
  • Next by Date: Executing AppleScript from Cocoa (with return values)
  • Previous by thread: Change An NSFont's 'Leading'
  • Next by thread: Executing AppleScript from Cocoa (with return values)
  • Index(es):
    • Date
    • Thread