I have tested my mobile application on some Samsung mobiles for testing purpose(Samsung Corby b3410 and Samsung c6712). Here Arabic font not showing on these mobiles. But it will working properly on Nokia mobiles. I'm using System font for showing Arabic fonts. Why its not supporting on these mobiles? How to resolve this issue?

有帮助吗?

解决方案

LWUIT doesn't support Arabic bitmap fonts, when the font type is 'system' we just delegate the Arabic support to the underlying OS. If the underlying phone OS doesn't include Arabic support LWUIT won't work with Arabic.

To workaround this some people have made efforts to implement Arabic bitmap fonts by modifying LWUIT to support that. We haven't incorporated any of these changes since:

a. They are very complex and language dependent. b. They don't solve the issue of accepting input. c. Most devices in Arabic speaking countries should support Arabic so its a pretty niche problem.

These solutions might be enough for your needs, but personally I wouldn't make the effort for that small fraction of devices.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top