Reputation: 622
It shows correctly on xperia x8(gingerxperia). but the letters and symbols are not shown correctly in Motorola Photon. Images attached. Unicodes used are: ("\u062D"+"\u064D"), ("\u062E"+"\u064D"), ("\u0639"+"\u064D"), ("\u063A"+"\u064D").
Photon:
Xperia(correct):
Is there a way to solve this? Thanks for Help in Advance.
Upvotes: 0
Views: 610
Reputation: 4454
use custom fonts that has all Arabic glyphs.
Typeface font1 = Typeface.createFromAsset(context.getAssets(), "fonts/myfonts.ttf");
textView.setTypeface(font1);
try these fonts http://www.4shared.com/file/0ZWijAyt/Wikoles_Store_-_Arabic_Android.html
Upvotes: 1
Reputation: 34592
In short, you need to thoroughly check out if the Motorola Photon is indeed rendering bidi text correctly. Am sure there would be something in the market to confirm this for you that can tell if bidi is rendering properly.
It could be down to the ROM used on the Motorola Photon. Perhaps an update is available to fix it?
bidi == Bi-Directional for arabic/hebrew text.
A quick google-fu on XDA yielded this linky that might help you.
Upvotes: 1