Gujarati fonts in Android

Finally I managed to install gujarati fonts under android. I have Samsung Galaxy Ace with Froyo version of Android, and it by default has support for Hindi, but it could not decode gujarati fonts. After significant googling, I figured out that there is no clean way of adding the support of Gujarati fonts (or any other unicode fonts for that matter) in Android. You have to root your phone to achieve that.

How to root your phone? – now this question was not new to me. I was using Galaxy Pop CDMA a few months back, and I wanted to install VPN client for Cisco VPNs and at that time, I came to know that there is something called “rooting” your android phone. In simple terms, it means that one gets added privileges after the phone is rooted – very similar to root access under linux. So, I had used SuperOneClick software at that time (thanks to those genius guys for this wonderful easy software) and it worked like a charm. But, this time it had given me a lot of pain, but I learned so many things out of that. Basically, there’s a platform-tool, named adb, is available if you download your Android SDK. This tool is used to communicate between your PC and Android. Caveat here is that, you should not turn on the mass storage feature of the android, keep “USB debugging mode” enable while doing this.

Under Linux:
When you are a normal user under linux, you will not be able to use this tool with a normal user’s privileges. Use “sudo” (or get root privileges) to use this utility. Following are the simplest two commands:

#sudo ./adb kill-server
#sudo ./adb devices …….> This command will list down the android device connected to your pc

Under Windows:
This thing is tricky, you need to have proper drivers installed in order to use these commands. There are three drivers actually: 1) ADB interface driver, 2) Samsung USB composite device driver 3) Some Debugging port driver – COM1 or etc, I don’t remember it exactly. But better and easy way to identify the missing drivers is to go to “Device Manager” and search for “exclamation mark”, and try to load the drivers for all such devices. You will get the drivers from SuperOneClick’s driver package from : ( ).After driver installation only, you will be able to do “adb devices” under windows.

SuperOneClick did not work for me under linux, may be because of the USB transaction are different in windows and Linux. But under windows, it is really easy and you can complete the whole process under one minute.

Once your phone is rooted, you are almost the king, you can do anything with your phone. So, my next step was to install the gujarati fonts. First I had to find the unicode gujarati fonts, and that also gave me little trouble. I could not find free gujarati unicode fonts from internet. So I decided to use the fonts which are available in ubuntu by default. The fonts location is /usr/share/fonts/truetype. Search for lohit_guj.ttf under this location, copy this to your android sd card first. After that disable the mass storage feature from android, and enable the usb debugging. Then follow the steps.

* sudo ./adb kill-server
* sudo ./adb devices
You should see your device here
* sudo ./adb shell
This will give you the console access of your android device.
* su
This will give you the root access (make sure to tap “allow” button from your phone, because, the everytime any new application seeks the root access, the phone will display a pop up msg, and you have to grant the access)
* mount
This list down all the mounted devices
* mount -o rw,remount /dev/stl12 /system
/dev/stl12 is the block device from where my /system partition is mounted. You can replace whatever mount point you have.
* cd /sdcard
* mv lohit_guj.ttf DroidSansFallback.ttf
* dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf
* mount -o ro,remount /dev/stl12 /system

That’s it, gujarati support is now in your phone, Have fun!!!


39 thoughts on “Gujarati fonts in Android

  1. Hi
    I could root my phone,
    I downloaded android SDK Tool (and required JAVA dk) also downloaded fonts packages.
    But now how to put’em in mobile? but then I lost it and don’t know what to do.

    Can you please elaborate.

  2. Are you aware of “adb” utility? It comes with the Android SDK. Search for that. If you are in linux, the above commands will work as mentioned. If you are in windows, while running the “adb ” commands, you need not to type “sudo” (make sure you have admin rights in windows).

  3. hello,

    I do not want to change phone language to gujarati but I want to see proper gujarati fonts in of my webpage when I browse site. Any solution ?

    please guide me.

    • Dear Mrugeshbhai, this will not change the language of the phone, but only enables the rendering of gujarati fonts. By adding this fonts, whenever any application searches the gujarati unicode fonts, it will use this font for rendering. With this font in place, you can visit any website containing gujarati unicode fonts.

  4. can you please share lohit_guj.ttf here?? i am using htc desire hd… my phone is rooted plus i have 187 new fonts in my phone now.. i have successfully install comic font too. i have facebook app. but still not showing gujarati font… is your method work for me??? yes.. i am using ubuntu… thanks in advance…

    • If you are using ubuntu linux, you can find it under /usr/share/fonts/truetype/ttf-indic-fonts-core/lohit_gu.ttf

      Hope that helps.

  5. Update: There is no need to manually change fonts from android version 2.3.4 onwards on Samsung Galaxy series mobiles. The stock ROM from samsung has the support for Gujarati fonts.

      • Connect your tab with Samsung’s kies software (it comes with a installation cd, or you can get it from web), and upgrade the firmware version. Version 2.3.4 onwards have gujarati fonts pre-installed. Otherwise you will have to “root” your tab, and then install the fonts manually (as prescribed in the post).

  6. Hey , Thanks for sharing this trick. I have done in my android phone having 2.2(froyo) successfully under windows OS. Can you suggest some other font that is better than lohit_guj.ttf? I have tried with lohit and shruti but lohit works but it is not as good as shruti. But shruti is not working in android. It works in windows. Please suggest me some good font.

  7. Hi godandme,

    Can you share lohit_gu.ttf font here, I have tried to find it on internet, But i cant find any one.

    is your this trick is working in all android devices ?


    • I am not able to upload it here, as .ttf extension is not supported (or i have not yet figured out the way to upload it). Search in any linux distribution, you should be able to figure it out (under /usr/share/fonts/)

  8. Thanks a ton, I successfully installed gujarati fonts in my Galaxy S with above method.
    One problem is still there. The complex words are not rendered properly. For example પ્રિયંકા is shown as પરયિઁકા. Do you have any solution for this?

    • You will have to root your phone first. Then install “Terminal Emulator” application from PlayStore and execute these steps in Terminal Emulator (which gives the command prompt in phone).

  9. For people not familiar with adb, (you of course will need your phone rooted for this alternative method too), simply install a file explorer like Total Commander or Solid Explorer, copy lohit-guj.ttf or any font file of the language of your choice to /system/fonts, rename the existing DroidSansFallback.ttf to DroidSansFallback.ttfbak and then rename to DroidSansFallback.ttf. That’s it. Restart and you will be able to read stuff in your language and type too (if you install a keyboard like MultiLing).

  10. hi,
    I am using Htc Inspire 4g. it is rooted i tried this. but i don’t see gujarati font on my devices. not in facebook, and not on other webpages, i can only see boxes….can you please help me… THANK YOU…..

  11. hi. i am using HTC inspire 4G. it is rooted.
    i tried it nothing worked.. all i can see is boxed fonts…
    can you please help me. i am using Win 7…..

  12. Dear,

    I am using Sony eriction live with wallkman but I am not able to read Gujarati language.I readed your topic but i am not clear about rooting.I am not using linux. What to do pls suggest me.

  13. hey I hav Micromax a52…. will your trick ll work in my phone?? if no then you hav any idea that how to do that in micromax??
    thank you..

  14. Hello, I have Asus Transformer TF300 T running Android 4.1.1. Opera Mini Browser will render Gujarati fonts but does not support Adobe Flash. I’d appreciate any help. Thanks.

  15. Witch font use to display gujarati in android?i try more than 25 but no proper result?
    please help me i need your help.

  16. Boss I tried to follow what u said. So, I kept everything ready. But just before replacing the font, I though to check it in browser.

    I recently installed Opera Mini Next in the phone. When I checked some sites on it, it did show gujarati fonts. Not nicely rendered, but perfectly readable.

    Will ask friends to try it.

    I have Samsung Galaxy Pro with Froyo 2.2. Its old OS and I dont see gujarati font. I just see DroidHindi.ttf in my phone along with few others. Never updated the phone for firmware (never released).

  17. I have I-ball Andi 4.5H Handset with Jelly Bean 4.1.1 android. In my handset Gujarati content not display. I want to know Jelly Bean 4.1.1 is support Gujarati Language & font Etc. & how update Gujarati font.

    Please help us.

  18. hello!
    i have a galaxy nexus which does the same thing – display Hindi fonts but not Gujarati.
    unfortunately, i am not as technosavvy as you are so the procedure you have mentioned is out of question for me. i will just have to look at a blank screen and sigh. hopefully, something will eventually show up!
    thanks for admirably precise and simple to follow ‘how to’.

    • Thanks for the kind words. If you know something about “rooting” the task is not that difficult :-) And you are having an awesome device (Galaxy Nexus) with at greater community support. It must be easy to root it and load the fonts. Its fun to view gujarat web blogs on mobile device!!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s