在Android 2.3及较低的渲染印地文字体 [英] Rendering HIndi font on Android 2.3 and lower

查看:219
本文介绍了在Android 2.3及较低的渲染印地文字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个Android应用程序在印地文,但发现这几个字符拼写错误,破碎的印地文的问题是的 HTTP://$c$c.google.com/p/ankidroid/issues/detail ID = 1008 ,但没有解决办法有दिप呈现为दपि 字母上面形成为द+&#x093f印地文字体; +प应显示为दिप,但它呈现为दपि 同样的问题前面已经提出,但没有得到解决,所以我不得不再次重新发布它 <一href="http://stackoverflow.com/questions/13569698/correcting-hindi-uni$c$c-rendering-in-android">Correcting印地文(统一code)渲染的Andr​​oid

I am developing an android App in Hindi but find that few characters are misspelled and broken in Hindi the issue is in http://code.google.com/p/ankidroid/issues/detail?id=1008 but no solution there दिप is rendered as दपि letters in hindi font above are formed as द + ि + प which should display as दिप but It render as दपि The same question was put earlier but not resolved so I had to repost it again Correcting Hindi (Unicode) rendering in Android

推荐答案

最后,我找到了解决办法,这是非常简单的方法导入我的情况我开发Web应用程序的字体

Finally I found the solution this is very simple just import the font in my case I am developing web app

@字体面{字体家庭:印地文; SRC:网址(字体/ k010.TTF'); }   身体,H1,H2 {字体家庭:印地文; }

@font-face { font-family: hindi; src: url('fonts/k010.TTF'); } body,h1,h2{ font-family:hindi; }

然后再使用Kruti devi10字体后,您完成更改字体为Arial,并在你的web应用程序粘贴文本的文本编辑器或MS-字键入文本,它会呈现完美

then type text in your a text editor or MS-word using Kruti devi10 font after You finished change the font to Arial and paste the text in your web App and it will render perfectly

这篇关于在Android 2.3及较低的渲染印地文字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆