Re: Font alignment when using bold variant of system font
Re: Font alignment when using bold variant of system font
- Subject: Re: Font alignment when using bold variant of system font
- From: Jens Alfke <email@hidden>
- Date: Wed, 12 Oct 2016 14:52:28 -0700
It looks as though the bold style of the font has a higher cap height, which causes the text view to move the baseline farther down to make room. I’ve seen occasional glitches like this in fonts. (What font are you using?)
You might be able to work around this by setting a custom NSParagraphStyle in your text and setting its maximumLineHeight property.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden