• 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: Font alignment when using bold variant of system font
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Font alignment when using bold variant of system font
      • From: Samuel Williams <email@hidden>
References: 
 >Font alignment when using bold variant of system font (From: Samuel Williams <email@hidden>)

  • Prev by Date: Font alignment when using bold variant of system font
  • Next by Date: Re: Font alignment when using bold variant of system font
  • Previous by thread: Font alignment when using bold variant of system font
  • Next by thread: Re: Font alignment when using bold variant of system font
  • Index(es):
    • Date
    • Thread