Let me first point out what I'm trying to achieve:
To create a patch for the Android OS so that it displays Arabic / Hebrew correctly. Both of these languages ββare Right-to-Left (RTL), and their script is associated with related letters / glyphs (unlike Latin alphabets with discrete letters).
Example:
The Arabic word for "car":
Ψ³ΩΨ§Ψ±Ψ©
The discrete letters are as follows:
Ψ³ Ω Ψ§ Ψ± Ψ©
As you can see, each letter is connected to each other by a letter in different ways depending on what precedes it and what follows it. Ok, enough with language lessons :) My question is:
What binary / class in android do I need to capture in order to enable this function?
Another way to express it; if you want each instance of "x" to be displayed as "y", within the whole system, what binary / class do you need to intervene?
The source code can be viewed on GitHub: http://github.com/android/
I think it could be somewhere under C / C ++ platform_system_core , or their custom JVM platfom_dalvik .
To be clear, a font is not a problem, since you can discard fonts in Arabic and Hebrew as rear fonts, and they will appear, albeit in discrete form.
Your help will be greatly appreciated :)
android right-to-left glyph arabic bidi
user251949
source share