• 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
UILabel is maiming my Character
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UILabel is maiming my Character


  • Subject: UILabel is maiming my Character
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Wed, 14 Oct 2015 18:02:40 +0700

I put into some iOS 9 app (Xcode 7.0)  4 UILabels.
All have Clip Subviews = off, font size 96 with a coloured background, text plain = “ฟี้กุฎุมพี”.

The difference is the font:

System: ok (but is too bold for my taste)
Thonburi and Thonburi Light: bottom get cut off
System Light: bottom gets cut off rather much

System also uses Thonburi as font substitution.

With Clip Subviews = on the characters get clipped to the coloured background, which is even worse.
Note: some characters go well beyond the descender line (as specified by the font) and also above the line height.

How can I get a UILabel which does not maim my characters?
(Another question would be: how to get a background which covers all of the characters. But this is not important to me right now)

These UILabels are ultimately meant to go into UITableViewCells (without coloured background).

Gerriet.


_______________________________________________

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: UILabel is maiming my Character
      • From: Alex Zavatone <email@hidden>
    • Re: UILabel is maiming my Character
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: NSGraphicsContext currentContext() returns nil on OSX 10.11
  • Next by Date: Re: Handling http:// URLs
  • Previous by thread: Re: More Xcode 7 inconsistency?
  • Next by thread: Re: UILabel is maiming my Character
  • Index(es):
    • Date
    • Thread