Question

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("નર્સિંગ");
Was it helpful?

Solution 2

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

Thanks

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top