Font fallback on Android

687 views Asked by At

I'm the developer of an app distributed worldwide.

I would like to use a custom font. Currently it works, but when a character is not supported by the font (for example cyrillic or chinese character), the system automatically use Roboto (or a device specific font).

Is it possible to specify another font to use in case on unsupported characters?

1

There are 1 answers

0
Seva Alekseyev On

In SDK 29 (Android 10 aka Q) there's Typeface.CustomFallbackBuilder.