Custom font garbled rendering on Samsung Android 4.4.2

567 Views Asked by At

We're using a custom ttf font (Calibri) for an app and it renders really badly on Samsung 4.4.2, in some cases no text is rendered at all. On other tested devices and Samsung with other versions (4.4.4, 4.1.2), there are no issues at all. For two Samsung devices (the only two we have with 4.4.2) it looks like this:

garbled font rendering

We are using the MagicViews library (https://github.com/ikocijan/MagicViews) to deal with custom fonts, so far we didn't have any problems with it.

EDIT: This also happens when loading the font manually, without the library.

1

There are 1 best solutions below

0
On

To answer my own question.. we solved this by using an .otf version of the font instead of .ttf. My guess is Calibri uses some feature of the ttf format which doesn't work well in this case.