Thursday, August 30, 2012

[android-developers] Re: Hindi Fonts coming incorrectly

Can anyone help me out ???

On Tuesday, August 28, 2012 3:47:43 PM UTC+5:30, Durgesh wrote:

I'm using following code to print Hindi charactors in textview.

final Typeface customF = Typeface.createFromAsset(this.getAssets(), "Akshar.ttf");

final TextView textV=new TextView(this);

textV.setTextSize(20);

textV.setTypeface(customF);

textV.setText("श्रीगुरु चरण सरोज रज, निज मनु मुकुर सुधारि");

setContentView(textV);

 

But when I run application on emulator text is coming like

 

Can anyone please tell me what I'm doing wrong?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate