summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2014-06-04 15:20:37 -0700
committerRaph Levien <raph@google.com>2014-06-05 12:23:21 -0700
commit3f1ea5da2ee12b0d95c17c56928c3e553d4eeda0 (patch)
treec9db6cf3111c20c2372e8a44b789d745bd6040bd /include
parent3164d1a77eecf3185347a44342131f4275de824f (diff)
downloadandroid_frameworks_minikin-3f1ea5da2ee12b0d95c17c56928c3e553d4eeda0.tar.gz
android_frameworks_minikin-3f1ea5da2ee12b0d95c17c56928c3e553d4eeda0.tar.bz2
android_frameworks_minikin-3f1ea5da2ee12b0d95c17c56928c3e553d4eeda0.zip
Support for context in API
This patch completes support for adding context for complex script layout, for example when a string with joins straddles two spans. Part of the fix for 15431028: "Properly support context for joining scripts (Minikin)" Change-Id: I65b0833be92eb477aa531bbef0ac6eddeb3a962a
Diffstat (limited to 'include')
-rw-r--r--include/minikin/Layout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/minikin/Layout.h b/include/minikin/Layout.h
index a1ef0c1..91b8ef6 100644
--- a/include/minikin/Layout.h
+++ b/include/minikin/Layout.h
@@ -105,7 +105,7 @@ private:
// Lay out a single bidi run
void doLayoutRunCached(const uint16_t* buf, size_t start, size_t count, size_t bufSize,
- bool isRtl, LayoutContext* ctx);
+ bool isRtl, LayoutContext* ctx, size_t dstStart);
// Lay out a single word
void doLayoutWord(const uint16_t* buf, size_t start, size_t count, size_t bufSize,