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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

<<attachment: hindi.jpg>>

Reply via email to