I have a problem with Arabic fonts, I have some Arabic fonts, and I use them from assets, and this displays correctly on Non Samsung devices. But when I run on the Samsung Android device, it will show broken alphabets in Arabic!
How can I solve this problem? I want to display Arabic correctly on all devices.
here is my font installation code
TextView tv=(TextView)findViewById(R.id.custom); Typeface face=Typeface.createFromAsset(getAssets(), "fonts/arabic.ttf"); tv.setTypeface(face);
source share