summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2011-10-17 11:06:46 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2011-11-01 17:16:08 -0700
commitef9bb3c3ea3aa08071ea0c32a505b379c322e5b5 (patch)
tree2c7e9eac12b3ac3ace044d9f1f0c8b11d59176ae /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent688ff9a7d6c42d4b26f1a72f963d09203f774c3f (diff)
Fix bug #5438102 Double Arabic harakat overlap instead of stack In TextView
IMPORTANT: this change needs two patches for Harfbuzz: - one concerning hb_utf16_script_run_prev() which was not returning the correct "previous" script - one for the "script_properties" table that was missing Arabic code point ranges and declaring HB_Script_Inherited instead of HB_Script_Arabic The current change is doing the following: - pass the correct typeface for Harbuzz shaping (depending on the script of the run) - offset correctly the glyphIDs returned by Harfbuzz We need to offset the glyphsID as Harfbuzz will return local glyphIDs (meaning in the local range of the font used for shapping). We then cannot use those glyphIDs when we are using a fallback Font (Arabic, Hebrews...) because the FontRenderer needs glyphIDs in the range of all the Fonts (including the fallbacks) Change-Id: I494897435bbc59293b02392ee2059cebcdf0e571
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions