Font "HelveticaNeue.ttf" deviation in android lollipop

I am using "HelveticaNeue.ttf" as a custom font in my android application; with all the previous versions of android it was fine, but with lollipop it stretches than normal font, does anyone have a solution?

lollipop view is attached below

+3


source to share


2 answers


Look at here:

https://code.google.com/p/android-developer-preview/issues/detail?id=608&thanks=608&ts=1404735239

Especially comment No. 13 of November 3, 2014



I had the same problem and it worked for me.

Good luck!

+1


source


I had the same problem - my ttf fonts were serving / stretching on a Nexus 5 running Lollipop.

This is caused by a problem with the ttf, in particular an invalid idRangeOffset value that occurred during the creation of the ttf, presumably.



I fixed the issue by referring back to the original font from the designers and recreating the ttf using onlinefontconverter.com.

+1


source







All Articles