- Home /
All Unicode characters on iOS
I've been trying to display localised text in device language, but I've noticed that on iOS (as opposed to Mac) for some languages like Chinese, Japanese, Korean nothing is being rendered.
I use a customised GUI.Label with my own font (Arial) which works just fine in Mac builds. When I switch to iOS only languages like Russian seem to work.
Here's a screenshot of the texture in Unity: http://cl.ly/2B1A2J220C0f0A0P0n33 As you see it does not contain chinese nor Japanese characters and it looks the same on iOS and Mac platform in Unity. The only difference is that on Mac I've used Dynamic instead of Unicode.
Is there anything that can be done for this to work on iOS?
@$$anonymous$$icha $$anonymous$$andrysz : let me know if this problem is not solve till now, I have solve it for myself.
Answer by Eric5h5 · Dec 21, 2011 at 12:09 PM
You need to use a font containing the characters that you want. Note that max texture size on iOS is 2048x2048 (1024x1024 on older devices), so ideally you would remove characters that you're not using from the font.
that's bad... when is the dynamic character type co$$anonymous$$g to iOS?
No idea...whenever UT implements their own font rendering, so they don't have to depend on OS fonts.
Bad indeed, but great to know! This explains a lot of behaviors when trying to use fonts and mobile, also for android. I don't think I read this info anywhere else.
Your answer
Follow this Question
Related Questions
UI Text does not show up on IOS build. 0 Answers
When will Chinese fix be ported to 4.6 (IOS 9)? 0 Answers
Problem with centering text 1 Answer
Render text/font string to Texture2D 0 Answers
Text rendering bug. Shows black squares. -1 Answers