Why arabic font not supported in Samsung mobiles using LWUIT?

雨燕双飞 提交于 2019-12-04 04:04:18

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/7859879/why-arabic-font-not-supported-in-samsung-mobiles-using-lwuit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!