Question

I am creating a TypeFace with this code:

setTypeface(Typeface.createFromAsset(context.getAssets(),"fonts/"+ fontName)); 

It is using ttf file to create this font.

When I try to use UTF-8 turkish strings to display it works on many devices, but in Samsung Galaxy S3 it creates unwanted squares on i chars.

enter image description here

Was it helpful?

Solution

it turns out there is an other character in input file

a sample bugged input is in here

<text>İngi̇li̇z-Çevi̇rmeni̇n-Notu</text>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top