Author Topic: Blurry dynamic labels  (Read 6128 times)

Ugur

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 60
    • View Profile
Blurry dynamic labels
« on: January 20, 2014, 09:06:45 AM »
So yeah, when i show small (font size) text it is all blurry on both desktop (mac) and also on mobile devices.
Weirdly on mobile devices (iPhone etc) when i click around between different panels (all showing text) then somehow some of the blurry text becomes sharp. Doing the exact same toggling between the panels on desktop(web player does not lead to that though (it always stays blurry there).
I read in the release notes for the latest update that it is supposed to bring some improvements regarding enforcing using the correct text shader or similar, sadly i don't see any improvement on my small blurry dynamic font labels.

Not sure if the correct shader is not used or what's the problem.

Can you tell me which import settings i should choose for the font and which settings in the label to ensure it being sharp for a font size 12 or smaller (or ideally any font size setting) on all platforms (for dynamic font usage) ?

In case that is useful, i'm using the font Helvetica Neue, in some places in bold, in some cases in regular.

So far i can only get it to look sharp when instead of using the font in the size it should be shown at i instead set the font size way larger and scale down the label game object then. That brings its own share of issues then though like characters looking distorted at certain (i guess non int) position values.

I don't understand that at all really how that can happen, i'd expect it to look exactly the same when i use a small font and use the label at scale 1 as when using a large font and scaling the game object down to have the label text shown in same dimensions.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Blurry dynamic labels
« Reply #1 on: January 21, 2014, 02:33:32 AM »
Try changing the pivot to one of the corners instead of keeping it in the center, and make sure that there are no odd position offsets leading up to your label (ie: some object using floating point position values). Also make sure that the labels are not set to "shrink". Keeping them at auto-resize is the best option.

Ugur

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 60
    • View Profile
Re: Blurry dynamic labels
« Reply #2 on: January 21, 2014, 01:20:09 PM »
I have set them to not shrink, but can't do much against them being positioned at floating point positions since they are part of a layout where things are anchored to other things and some parts resize etc so that yeah, due to that some things end up on floating point positions. Maybe the old/new anchoring features should have some way to make it position it to rounded values.