Friends, Running out in a strange issue. I want to use two font (Gujarat & Hindi) in same applicaion. Here is process of install fonts in device
- Needed root device.
- Install Font Installer App
- Download
Lohit-Devanagari.ttf
&Lohit-Gujarati.ttf
from this site - Copy ttf files file at
/system/fonts
- Given Read/Write Permission & installed both fonts
- Reboot device
Issue
After reboot device I can read only that font which I installed last. Either Gujarati
or Devangari
Note:- I am creating Only SoftKeyboard Apps which will work in all app, so I can't use Typeface class
I am just doing setText for read fonts..
textView1.setText("TextView1 ગુજરાતી");
textView2.setText("TextView2 हिन्दी ");
I want like this.
TextView1 ગુજરાતી
TextView2 हिन्दी
But I getting output like this
TextView1 ગુજરાતી
TextView2 ☐☐☐☐☐☐
or
TextView1 ☐☐☐☐☐☐☐
TextView2 हिन्दी
Note:- I am creating Only SoftKeyboard Apps which will work in all app, so I can't use Typeface class