Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: AnnaKang on February 04, 2014, 03:58:58 AM

Title: When i enter the korean..
Post by: AnnaKang 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??


Title: Re: When i enter the korean..
Post by: ArenMook on February 04, 2014, 04:11:18 AM
Does the font support korean characters?
Title: Re: When i enter the korean..
Post by: AnnaKang on February 04, 2014, 04:17:42 AM

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


Title: Re: When i enter the korean..
Post by: ArenMook 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.
Title: Re: When i enter the korean..
Post by: AnnaKang 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?
Title: Re: When i enter the korean..
Post by: ArenMook 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.