Android - Patch font for views

Is there a way to set the reverse font for views? My client requests a specific font that does not support Cyrillic characters (and they want Cyrillic languages ​​..), so any Cyrillic characters are beautiful squares! I can't seem to find anything to set a fallback font for text viewing?

IOS has a default reserve .. Don’t let me down Android! The thought of redoing a text image, and then changing each in my application to a new text to support the reserve, my head hurts.

Thanks,

+4
source share
1 answer

You cannot currently specify more than one font to declare a presentation style.

I assume that you will need to apply some damage control right now, so you can exit by specifying two styles, one of which will support the client font, and the other to enter user input. You can apply one of the two to the entire application and manually set a different style to override the default font.

+1
source

Source: https://habr.com/ru/post/1386483/


All Articles