Being a native Bengali (বাংলা) speaker, I feel a drive towards Bengali computing. So, when I got my first android handset, I was out there to find a way to install bengali fonts on android 1.0 . I posted a message on google group too. Unfortunately, there was no positive response, one reason of which could be, android was mainly launched in Europe and Americas, not Bengali speaking countries. Anyways, this week again, after upgrading my G1 to CyanogenMod I gave another try on the net and solved the issue. Here is how:
By Default android comes with a very small number of system fonts. The way of adding new fonts are not too easy. However, there seems to be a way out of this. On android 1.x (I am not sure about 2.x) there “fallback” fonts. As Nathan suggests in his blog, these fallback fonts takes over the charge from default system fonts whenever an unidentified character is detected. In short, these fallback fonts are the last line of defence for android in a fight to display non-standard characters.
I have found some other people changing this fallback fonts with their expected font and thus fooling the android system to use these new fonts to display characters.
So far, Tibetan, Arabic, Hebrew and few more languages were proved successful. It’s my turn now, to attempt getting Bengali on the system!
Steps to be followed:
2. Rename the font (one that’s chosen) to DroidSansFallback.ttf
3. Put the font into the SDCARD root.
4. Open terminal (oh! forgot to tell, you neet to be root)
5. Type the following and hit ENTER
6. Wait till $ sign turns into #
7. type the following and hit ENTER (mounting the system partition)
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
8. Then the following and hit ENTER
chmod 4755 /system/fonts/DroidSansFallback.ttf
9. in following line we will overwrite the existing font with the one from SDCARD
dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf
10. Once typed the above, hit ENTER
11. REBOOT immediately using the following:
I rebooted and now can read my favourite bangla forums. Can even login to them!!
Give it a try if you need!!!
Caution: Please note, for this process to work you will need a rooted Android Device. Rooting a purchased device could potentially void the warranty. So, please do it at your own risk.