Author Topic: UILabel outline correctly  (Read 1342 times)

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
UILabel outline correctly
« on: August 28, 2014, 10:18:11 AM »
Hi Aren,
I want to know when will be fixed the outline in the UILabels, right know it's just duplicating the current character and add some offset to them. So, if you want a thick outline starts creating empty spaces.

The real outline should be a stroke around the character.

Apparently the FreeType library already have this, I'm not sure.

Could you integrate this?

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UILabel outline correctly
« Reply #1 on: August 28, 2014, 09:18:26 PM »
NGUI doesn't use FreeType. FreeType is only used at edit time to generate bitmaps. To do bold properly, you'd have to have both glyph faces -- regular and bold -- in the same atlas. Right now NGUI doesn't support more than one font per label, which is why it's done like that with duplicating text.