[MOD] Arabic Stock Fonts

omar302

Senior Member
Feb 15, 2006
1,476
552
143
Doha
For those using Arabic on their non-stock phones, you might have noticed that in the stock Arabic ROMs (1.28.415.9 & 1.29.415.11), Arabic had two different fonts, ICS "Naskh" & Gingerbread "Kufi". The font was also displayed in both "Regular" &"Bold" styles. But in custom roms, this was not the case, the only Arabic font displayed was ICS "Naskh" and only in "Regular" style, (no Bold).

The solution I found was due to two things, 1st (which is obvious), the "Kufi" fonts were missing. But just copying them did not do anything. Apparently the file "system/etc/fallback_fonts.xml" was different, so copying the missing fonts & fallback_fonts.xml from the Arabic ROMs to a custom ROM & rebooting, made the fonts appear similarly to HTC's Arabic ROMs, both "Naskh" & "Kufi" and in "Regular" & "Bold". The attached CWM flashable Zip to add the missing Fonts & fallback_fonts.xml.

I believe this should work on any HTC ICS device, not only the One X.
 

Attachments

Alhaddad

Senior Member
Feb 2, 2007
325
70
0
Manama
thanks

is this meant to be for sense or aosp roms?

btw, i'm running ARHD 7.1.0 which is based on 2.05... will this work on it?
 
Last edited:

Alhaddad

Senior Member
Feb 2, 2007
325
70
0
Manama
ok then.. i'll give it a shot.. coz i hate the arabic font in custom roms

---------- Post added at 09:17 AM ---------- Previous post was at 09:06 AM ----------

OMG i just flashed it and my phone is not booting anymore :eek:


lol just kidding :D

yup it's working as it should, good job mate :good:
 

mushages

Senior Member
Sep 2, 2009
1,569
816
0
Muscat
Thanks bro but I'm running viper Rom and I want to activate Arabic input in sense input how can I do this I didn't find Arabic input option in any custom Rom I tried ARHD, energy and viper non of them have Arabic input option

Sent from my HTC One X using xda app-developers app