Why do Arabic characters behave as separate characters when styling single Arabic character in ANDROID?



I am new on this. But I did follow an example to render coloured letters:

But the results are different between android and iOS. Where did i do wrong?

iOS is perfect but android is so bad.(separated characters)


I don’t read arabic, but looks like you are using a different font in Android which is not the case of iOS. Android expects just font file name to detect a font, but iOS needs the postscript name of the font. As you are using file name, it will be applied only on Android.

Also I wouldn’t recommend comparing different platforms, may be you can compare with other app using Arabic in same device.


That font is applied to both actually. The only difference is in android, it display as separated characters instead of continued. (Even if I neglect the font type)

Thank you for your suggestion!