Pregunta

I have created an android app, in that I want to set Gujarati joint word.

I use Shruti.ttf font.

I want to print -

નર્સિંગ

But it prints-

નર્ સંગિ

So, how to print proper.

My code is -

TextView tv_guj=(TextView)findViewById(R.id.tv_gujarati);
Typeface font = Typeface.createFromAsset(getAssets(), "Shruti.ttf");
tv_guj.setTypeface(font);
tv_guj.setText("નર્સિંગ");
¿Fue útil?

Solución 2

you can use terafont of gujarati Fontface so it will be implemented.

Thanks

Otros consejos

Please try this sample and copy your text to this sample text view it will work and will show proper result as you want

https://www.dropbox.com/s/6pqg9otcli038ij/HindiFont.zip

Lohit-Gujarati font is working

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top