Android Korean (Japanese) text

How to write Korean (20 000 glypth font 4096x2048) on android real-device?
May be using native SDK? How to call from unity?

Thanks!

if you want to write it within unity the answer is you can’t.
2048x2048 is the maximum texture size and even that only on the high end devices so you will have to use a reduced font that has not the full glyph set (its not common that you need all in anyway, so a lot would be pure waste of space)

Well, how can I use native (android SDK) method call using unity to draw text (as I see this is the only good solution)?
Thanks!

You mean how you create a fully native interface not using any unity gadgets nor interacting with it? (cause you can’t draw with java stuff into unity nor vice versa)

That would be done through a plugin then

well, actually I need to write some text on android using unity (20.000 glyphs, one texture certainly can not hold it, moreover i need some dynamic caracter drawing - not to store all glyphs in memory)… And using java I can do that… But how to do that using unity - that’s is the question :slight_smile:

You can not use Java to write in Unity, you can only use Java to write to an overlay on top of unity (-> plugin) which would go through JNI and binding code you expose to call from Unity scripting.

Alternatively, do an own font that only has those glyphs in you need for your purpose (which at 99.98% is <<<< 20k), in which case it will work again too with the font texture. Using such a font with textmesh will likely always be faster than any dynamic font handling

Thanks! I get it… :slight_smile: The only good solution is to have the font with only required characters.