I am using Unity4.1.2f1 with the newest NGUI plugin. And I create a dynamic font prefab with Arial true type font. Then I create two NGUI Label with this dynamic font prefab, one label with some Chinese words and one with some Korean words.But I compiled the demo onto my android device, there was a weird problem:
I tested the demo on two Nexus4 device with Android 4.2.2, on one device the Chinese couldn’t display but on another the Korean couldn’t display. And I logged the results of the Font.GetCharacterInfo, I found when the device can’t display Chinese/Korean, the characterInfo was invalid, such as the xMin and xMax of uvs was the same, so the text size is 0.
Then I tested the same demo on my SAMSUNG I9100 device with Android 2.3.5, both Chinese and Korean displayed correctly.
So I guess there is a issue with the dynamic font in Unity, can anyone kindly help me to fix this issue?
@part, for every type need in Unity3D, I truly recommend just grabbing 2dToolkit. the whole problem is utterly solved in literally less than a minute.
notice the long comment (with two images). Additionally you can just use glyphdesigner, and use absolutely any font or type style you need.
We just now never, ever use any other system for typography in Unity - it’s the only way to go. For type in your UI, or type “in the 3D world” (floating messages, etc) … it’s literally the inly way to go.
Hope it helps
HOWEVER if you are trying to do Asian type, you are f—ed, there is no good solution Unity’s dynamic/etc type is a shambles. Sorry.