Author Topic: UILabel Crisp-Settings on Mobile Devices with dynamic fonts  (Read 7141 times)

tho.mas

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
UILabel Crisp-Settings on Mobile Devices with dynamic fonts
« on: December 13, 2013, 06:28:50 AM »
Hey!

This is a screenshot from an iPad 4 with different settings for UILabels using a dynamic font:



The UIRoot is set to "FixedSizeOnMobile", so the labels are scaled. As you can see, only the setting with Overflow set to "ShrinkContent" and Keep Crisp set to "Allways" results in crisp letters.
But what if "ShrinkContent" is not the way you want the labels with overflow to be handled ? This is especially the case on Apps with different languages.

If I set the "usePrintedSize" of the UILabel-Script to allways be true (like it would be if Overflow is set to "ShrinkContent" and Keep Crisp is set to "Allways") all of the labels are crisp.

In the Comment to the Crispness you say:
Quote
Whether the label will keep its content crisp even when shrunk. You may want to turn this off on mobile devices.

So is there any problem with setting the Crispness to "Allways" with every Overflow-Settings especially on mobile devices?

Thank you for your help and for your great product!

Tho.mas

« Last Edit: December 13, 2013, 09:26:34 AM by tho.mas »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UILabel Crisp-Settings on Mobile Devices
« Reply #1 on: December 13, 2013, 09:23:12 AM »
What's the original size of the font? "Keep crisp" option ensures that 1 pixel on the screen = 1 pixel of the font.

If it's off, the font will be printed using its original size, so if your labels have size 16 font, that's exactly what will be used.

With "Pixel-perfect" UIs it's fine, but with Fixed Size it means that you will get stretched (and thus blurry) fonts.

P.S. I've gone ahead and made the "Keep crisp" option show up and be used regardless of the overflow setting, so you will see it like that in the next update.
« Last Edit: December 13, 2013, 09:33:11 AM by ArenMook »

tho.mas

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: UILabel Crisp-Settings on Mobile Devices
« Reply #2 on: December 13, 2013, 09:25:39 AM »
Oh, I forgot to say: We use a Dynamic Font!