Closed lwyj123 closed 1 year ago
ReactUnity uses TextMeshPro, so your font must be converted to a font atlas. You can use Font Asset Creator of TMPro.
I don't know the nuances of Chinese fonts, but this should work. You may have to consult a more experienced person for this though.
The character list I used is this, but you can add more characters:
0D,20-7E,A0,F6,130-131,200B,2026,4E00-9FFF
Also you may want to change Atlas Resolution if characters seem low resolution.
Let me know if this works.
There is now a docs page for a small guide to add custom fonts. https://reactunity.github.io/learn/howto/fonts
Problem
ReactUnity canvas can't render non-latin character like chinese
After checking the samples and tests I found a way to use @font-face but it doesn't work.