Arabic Font in android webview?
我们有要显示为阿拉伯语的网站网址,它要在android webview中显示,但显示的却不是正确的,而是反向显示。 你能帮助我吗????
只需设置编码:
YourWebView.loadData(YourContentHtml," text / html; charset = UTF-8",空);
有一个简单的解决方案。 作为正确的顺序,字母以相反的顺序显示。 我们为什么不写反字母?
该链接将帮助https://stackoverflow.com/a/13562693/1547539
我完全理解您的问题,您的意思是:
1 | [????] Would show as [????] |
恐怕这是不可能的,我已经看到一些帖子都证实了在此期间无法完成。
Android has the ability to use custom TTFs in views (though it's kind of a kludge, example on how to use custom typefaces in the API Demos), but I'm not sure how to extend this to WebView, or whether it's even possible. custom font with Webview
另请参见:Android中Webview的字体?