A project I work on requires a multiple languages support.
But I bumped into an issue with displaying all necessary symbols.
For example, Cyrillic (Russian) and Glyphs (Simplified and Traditional Chinese) symbols aren’t displayed at all.
Make sure your font referenced includes those characters
2, After you add the characters in place, make sure to press Process Font to get the new font maps generated.
So, the font may include all the required symbols, but you need to add the ones the application will use. You should select the Font > Character Presets > Process Font.
@Leonidas, @yaustar, I remember we had a User Manual on this one somewhere, and initially wanted to give a link, but I can’t find it. Do we still have it?
Checked if the Cyrillic characters appeared in the “Characters” field (they did)
Clicked “Process”
And nothing happened.
And if I deselect the current font in the Assets section and select it again, the “Characters” field still contains the same basic set of characters (Cyrillic one disappears).
@Leonidas Yes! It worked!
Didn’t know I had to keep a font source file in order to add new characters!
Thanks a lot, guys!
But still I can’t get the same result for the Chinese glyphs.
As far as I understand there’s no such “Presets” for Glyphs.
I uploaded to that “Font Test Project” some Chinese Simplified font and tried to change characters range, but without success.
I need to add documentation about this. The font process will create multiple textures for as many characters as needed and the font asset will refer to those as needed.
I think each texture is capped at 2 or 4K so on theory, you can add as many Chinese characters as needed.
But yes, a preset hasn’t been included, you will need to add it yourself.
There’s little we can do right now about this. The only other alternative available is the WIP Canvas Font API which takes up more memory but allows for dynamic content at runtime without having to preprocess fonts: http://playcanvas.github.io/#user-interface/text-canvas-font.html