- Home /
How to set font name for dynamic Chinese font?
I can't make unity to find Chinese dynamic font files.
What I did: I copied my font(simhei.ttf) from windows/font directory to Assets folder. Then I set the font property, Character Dynamic, Style Normal, Incl. Font Data not checked, Font Names "SimHei, Arial" by default.
When I run the program, in editor or in browser under Windows XP, unity use default system characters instead of the font I assigned.
I remove the ", Arial" part from Font Names, "Failed to find fonts for font asset 'font' UnityEditor.DockArea:OnGUI()" is shown in log.
I can only use the font if I check Incl. Font Data.
Is this a bug or I did something wrong?
Btw, Unity did something wrong when import Chinese font normal ways(not dynamic). The font texture doesn't generate correctly with simsun.ttf at font size of 12,13,14,15,16,18. Some size (for example 16) of simhei.ttf also happened. Font files are double checked, nothing wrong. Definitely a bug I think.
Answer by DreamCreations · Jul 26, 2013 at 02:03 PM
Hi,
I have made an asset for localization using Excel. Please take a look and let me know what you think !
Your answer
Follow this Question
Related Questions
How to change text on a TextMesh with a non-dynamic font on iOS? 2 Answers
Why does the font selected for my GUI Skin not display correctly? 1 Answer
Is there a way to increase the atlas size of the fonts in Unity 4.6.9? 0 Answers
On Android Dynamic Font doesn't support use system font? 0 Answers
How do you make fallback fonts work? 1 Answer