FROM : John Stiles
DATE : Wed Mar 26 17:58:51 2008
I've found that adjusting the font matrix to include a negative Y
transformation has the effect of decreasing the line height. This seemed
like a bug to me when I discovered it, since I just wanted the text to
be translated upwards in its cell, not shrink the line height. I wasn't
sure if it was a bug or desired functionality. If this is the correct
behavior, it's one way to do it.
Nicholas J Humfrey wrote:
> Hello Cocoa Developers,
>
> I am trying to squeeze an extra line of text into a multiline
> NSTextField, but I can't work out how to adjust the line height? What
> is the easiest way of adjusting this?
>
>
> The purpose of this is that I'm actually using several NSTextFields on
> an NSView to lay text out for printing on to a sheet of labels, which
> has been working out very nicely up until this point! Perhaps there is
> a better way of doing this?
>
>
> Thanks,
>
> nick.
>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
DATE : Wed Mar 26 17:58:51 2008
I've found that adjusting the font matrix to include a negative Y
transformation has the effect of decreasing the line height. This seemed
like a bug to me when I discovered it, since I just wanted the text to
be translated upwards in its cell, not shrink the line height. I wasn't
sure if it was a bug or desired functionality. If this is the correct
behavior, it's one way to do it.
Nicholas J Humfrey wrote:
> Hello Cocoa Developers,
>
> I am trying to squeeze an extra line of text into a multiline
> NSTextField, but I can't work out how to adjust the line height? What
> is the easiest way of adjusting this?
>
>
> The purpose of this is that I'm actually using several NSTextFields on
> an NSView to lay text out for printing on to a sheet of labels, which
> has been working out very nicely up until this point! Perhaps there is
> a better way of doing this?
>
>
> Thanks,
>
> nick.
>
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Nicholas J Humfrey | Mar 26, 11:41 | |
| John Stiles | Mar 26, 17:58 | |
| Nicholas J Humfrey | Mar 26, 23:10 | |
| Douglas Davidson | Mar 26, 23:17 | |
| Nicholas J Humfrey | Mar 26, 23:48 |






Cocoa mail archive

