Author Topic: When i enter the korean..  (Read 4337 times)

AnnaKang

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
    • View Profile
When i enter the korean..
« on: February 04, 2014, 03:58:58 AM »


Hi.
I have a problem

When i entry korean in UILabel, Strange characters printed.
Sometimes, english is out in the middle.
Sometimes, Last letter is gone.

is it Unity 4.3 bug?? Or NGUI input System bug??



ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: When i enter the korean..
« Reply #1 on: February 04, 2014, 04:11:18 AM »
Does the font support korean characters?

AnnaKang

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
    • View Profile
Re: When i enter the korean..
« Reply #2 on: February 04, 2014, 04:17:42 AM »

yes.
I create a korean font file with BMFont.
it is Bitmap Type



ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: When i enter the korean..
« Reply #3 on: February 04, 2014, 07:31:53 AM »
Bitmap fonts are very predictable. If the character exists in the texture, then it will be used. If it doesn't exist, then it won't be.

If the text becomes garbled for any reason, then the font's definition and the texture are no longer in sync. It can happen if you update the atlas where the font resides, changing its texture's size outside of using the Atlas Maker, or if you create the font using different exported FNT + Image files.

AnnaKang

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
    • View Profile
Re: When i enter the korean..
« Reply #4 on: February 04, 2014, 11:16:51 PM »



So, Bitmap Fonts are a problem??
Are these problems gone, If i use Dynamic Fonts ??

Or

Is it possible to happen these problems because of Unity 4.3?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: When i enter the korean..
« Reply #5 on: February 05, 2014, 03:07:28 PM »
As I said, bitmap fonts are very simple and they just work, so it's highly unlikely that they are the cause of your issue here. Check the texture that was imported, make sure the characters are actually there. Then update your font via the Font Maker, and make sure to specify the exported texture and the correct FNT file.

The only other time I've heard of someone running into an issue with this, it was because they decided it was ok to edit the exported texture in Photoshop and change its dimensions. It's not.