shoutem/ui

Help! My custom font does not work on Android 5.0

FitBoyAwesome opened this issue · 0 comments

droid Lollipop releases prior to 5.1. The Android 5.1 update fixed this issue, but it still impacts Android Lollipop 5.0.x on your users.

This does not cause your device to crash, it simply causes your view to render using the default typeface instead of the custom font that you requested. (Know more about the font behavior at https://fontvilla.com/aesthetic-text-generator )

The problem is that TTF font files have malformed. Minor problems in font files could be overlooked or accepted by most systems that make the font, but in the early builds of Lollipop the tolerance level was not that high and certain cute font ideas struggled to render the system and it dropped to the default font. It's like having a badly written audio file played in certain media apps but flagged as corrupted in others.