diff options
author | Raph Levien <raph@google.com> | 2014-05-19 11:58:20 -0700 |
---|---|---|
committer | Raph Levien <raph@google.com> | 2014-05-19 14:53:57 -0700 |
commit | 4b3a941128454e55893d65433a835e78a9e9781d (patch) | |
tree | 45318a5360fe32af41e6f79e2ab7fff9115b6d45 /libs/minikin/FontFamily.cpp | |
parent | c31e3883456e018d742e9f29815ba5ff8b315ea1 (diff) | |
download | android_frameworks_minikin-4b3a941128454e55893d65433a835e78a9e9781d.tar.gz android_frameworks_minikin-4b3a941128454e55893d65433a835e78a9e9781d.tar.bz2 android_frameworks_minikin-4b3a941128454e55893d65433a835e78a9e9781d.zip |
Do BiDi algorithm for text layout
This patch extends the previous BiDi support (when the direction for the
entire string was given by the caller) to run the BiDi algorithm
(provided by ICU) over the string to break it into BiDi runs. Thus, it
handles mixed LTR and RTL strings in a single layout, and also respects
heuristics for inferring the paragraph direction from the string.
Change-Id: Ia4b869de3c139c5a7d16b8ce7766870b98a815ea
Diffstat (limited to 'libs/minikin/FontFamily.cpp')
0 files changed, 0 insertions, 0 deletions