Reputation: 355
I have included a ttf file in my android assets folder.
I am using day poster
as ttf.
But the problem is that this custom font is not being supported in some phones i.e.: it appears different in some phones.
The same issue is with bebas.ttf
.
Please tell me how can I sort it out so that it appears the same in all mobile phones.
Output in Micromax(See text PETO)
Output in Samsung(See text PETO)
Upvotes: 1
Views: 325
Reputation: 5741
try this, add paint flags
setPaintFlags(getPaintFlags() | Paint.SUBPIXEL_TEXT_FLAG);
Upvotes: 1