Kannada Font on Android ICS

前端 未结 1 1448
独厮守ぢ
独厮守ぢ 2020-12-18 08:09

I am supporting Tamil and Kannada fonts in my application. I use the following code to set the typeface of TextViews, Buttons, etc

FONT_TAMIL = Typeface.crea         


        
相关标签:
1条回答
  • 2020-12-18 08:44

    Did you tried replaceAll function to replace each and every Unicode characters to Ascii? You can use Character Map tool in Windows to get the equivalent ASCII characters for each of your Kannada/Tamil characters.

    1) First you install both Unicode and Kannada font in your PC.

    2) Then open two windows of character map tool.Select Unicode font in first window and Ascii in second one.

    3) In both windows, double click the desired characters (same character in both windows).So the character will be displayed in the textbox.Copy that character from both windows and add them to replaceAll function.

    Its takes long to copy each and every characters and character combinations.But I dont think there is another method to display unicode properly below ICS version.You need to convert it.And ofcourse hardwork leads to success :) Best wishes bro...

    0 讨论(0)
提交回复
热议问题