纠正印地文(统一code)渲染的Android [英] Correcting Hindi (Unicode) rendering in Android
问题描述
我成功添加自定义字体(DroidSansFallBack.ttf),以显示印地文字符,而不是块上pre ICS。一切运作良好的4.1+在任何情况下。
I successfully added a custom typeface (DroidSansFallBack.ttf) to show Hindi characters instead of Blocks on Pre ICS . All is working well on 4.1+ in any case.
但呈现顺序是错误的升级Froyo和姜饼。 我的理解是不是解决的http:// code .google.com / P /安卓/问题/详细信息?ID = 4153
But the rendering order is wrong on Froyo and Gingerbread. I understand it is not resolved http://code.google.com/p/android/issues/detail?id=4153
什么是可能的解决方法来纠正渲染? (我并不想用图片)
What are the possible workarounds to correct the rendering? (I don't want to use images )
编辑: 例如,
दिन从值喜字符串呈现为दनि
दिन string from values-hi renders as दनि
नक्षत्र呈现为नक्षतर
(在4.1+一切正常渲染)
(On 4.1+ everything renders correctly)
推荐答案
我无法找到固定到处呈现一个简单的变通。所以最后我不得不限制的印地文语言功能具有Android版本4.0或更高版本的设备。
I could not find a simple work around for fixing the rendering everywhere. So finally I had to limit the Hindi language feature to devices having android version 4.0 or later.
这篇关于纠正印地文(统一code)渲染的Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!