Fixing Malayalam in Android 4.2 CM10.1 Roms..!

The problem with rendering Indian fonts in CyanogenMod Android  4.2 Roms lies with the file fallback_fonts.xml which is located in /system/etc. Although most of the indian fonts are pre-installed in CM10.1 roms, the fault with fallback_fonts.xml prevents rending of the fonts.

So all you need to do is edit this fallback_fonts.xml .

1) For that, one need a root-explorer like ES File Explorer.
2) In the setting of ES File Explorer, activate “root explorer”, “Up to Root” & “Mount File System” options.
3) Navigate to /system/etc
4) Copy fallback_fonts.xml to sd card, and from there to computer.
5) Using notepad++ (or normal notepad) in computer, edit fallback_fonts.xml
6) In that file, many of the font names would be included. Like <file>DroidSansThai.ttf</file> .
7) Edit one those unwanted fonts and replace with the name of the font of your language. To get the name of the font of your language, look up in /system/fonts. If it is malayalm, write <file>AnjaliNewLipi-light.ttf</file>
If your custom rom has deleted any of the Indian Language Fonts, you can download them from here. The font needs to be put in /system/fonts ;and permissions fixed for the font as (rw-, r–, r–) by using properties in ESExplorer.

8) Save the modifications made in fallback_fonts.xml.
9) Replace the modified fallback_fonts.xml file in /system/etc using ES File Explorer

10) Reboot.

It should work..!

Beware..! If you type a wrong non-existing font name, you will get a boot loop.



Fixing Malayalam Font rendering in Android 4.1 (Jelly Bean)

Courtesy rahulsby who published this here

Latest android OS Jellybean (Android 4.1) ships with default Malayalam font and font included in 4.1 is AnjaliNewLipi-light.ttf.
All browser based apps render Malayalam content properly expect one “Ra” issue. But, all non-browser apps have ligature rendering issue. Malayalam Complex script layout is not rendered properly.
Google confirmed it as a known issue. 
we have an interim option to fix the rendering issue if you are already rooted your Jellybean device. . I’m not encouraging anybody to root your device and I do not take any responsibility for anything you do to your phone, whether be brick, break, or somehow mess it up 

Warning: If you make below change, you must delete AnjaliNewLipi-light.ttf in System/font folder

1. Install Root Explorer or ES File Explorer from Google Play.
2. Open ES File Explorer and enable Root Explorer, Mount File System options in settings
3. Copy /system/etc/system_fonts.xml & fallback_font.xml to your computer
4. Download modified system_fonts.xml, fallback_font.xml to your computer
5.Copy modified system_fonts.xml, fallback_font.xml to ” /system/etc/ ” Directory
6. Delete AnjaliNewLipi-light.ttf in System/Font
7. Copy Kaumudi-Sans.ttf to System/Font
8. Reboot your phone or Tablet
Its works!!!!!

Download Required Files