为什么使用 LWUIT 的三星手机不支持阿拉伯字体?
我已经在一些三星手机上测试了我的移动应用程序以进行测试(三星 Corby b3410 和三星 c6712)。这些手机上未显示阿拉伯字体。但它可以在诺基亚手机上正常工作。我使用系统字体
来显示阿拉伯字体。为什么这些手机不支持?如何解决这个问题?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
LWUIT 不支持阿拉伯位图字体,当字体类型为“系统”时,我们只需将阿拉伯支持委托给底层操作系统。如果底层手机操作系统不包含阿拉伯语支持,LWUIT 将无法使用阿拉伯语。
为了解决这个问题,一些人努力通过修改 LWUIT 来支持阿拉伯位图字体。 情况以来,我们尚未合并任何这些更改:
自以下 它们非常复杂并且依赖于语言。
b.他们没有解决接受输入的问题。
c.阿拉伯语国家的大多数设备都应该支持阿拉伯语,因此这是一个相当小众的问题。
这些解决方案可能足以满足您的需求,但就我个人而言,我不会为一小部分设备付出努力。
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.