Search code examples
androidunicodefontshindi

Rendering HIndi font on Android 2.3 and lower


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


Solution

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

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

    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