Let me first state what I am trying to achieve:
To create a patch for the Android OS to enable it to display Arabic/Hebrew correctly. Both of these languages are Right-to-Left (RTL) and their script involves connected letters/glyphs (unlike Latin alphabets which have discrete letters).
Example:
The Arabic word for "car" is:
سيارة
The discrete letters look like this:
س ي ا ر ة
As you can see, each letter connects to each other letter in different ways depending on what precedes it & what follows it. Ok, enough with the language lessons :) My question is:
What binary/class in android do I need to hijack to enable this functionality?
Another way to put it is; if you wanted every instance "x" to be displayed as "y", system-wide, what binary/class would you need to meddle with?
The source code is browsable at GitHub: http://github.com/android/
I think it might be somewhere under the C/C++ platform_system_core, or thier custom JVM platfom_dalvik.
Just to be clear, the font is not an issue since you can drop Arabic/Hebrew fonts as fall-back fonts and they would display, albeit in discrete form.
Your help would be much appreciated :)