Re: Change An NSFont's 'Leading'
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.