diff options
author | Romain Guy <romainguy@google.com> | 2012-01-17 14:52:13 -0800 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2012-01-17 14:53:26 -0800 |
commit | 62b6eaa7f3a8111311a7ee097f278eb55865a499 (patch) | |
tree | c41da021e65907a60607fac87c1c7f3172139a73 /graphics/java | |
parent | 7677d8f006b94c76dcad6f551bf14f983f58dc14 (diff) | |
download | frameworks_base-62b6eaa7f3a8111311a7ee097f278eb55865a499.zip frameworks_base-62b6eaa7f3a8111311a7ee097f278eb55865a499.tar.gz frameworks_base-62b6eaa7f3a8111311a7ee097f278eb55865a499.tar.bz2 |
Fix text encoding when drawing with drawPosText in software
Change-Id: I0cd8ee526189c38c50953a1a08b50e0b31c55d8c
Diffstat (limited to 'graphics/java')
-rw-r--r-- | graphics/java/android/graphics/Canvas.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/Canvas.java b/graphics/java/android/graphics/Canvas.java index e1c73fd..5cac42a 100644 --- a/graphics/java/android/graphics/Canvas.java +++ b/graphics/java/android/graphics/Canvas.java @@ -1516,6 +1516,9 @@ public class Canvas { /** * Draw the text in the array, with each character's origin specified by * the pos array. + * + * This method does not support glyph composition and decomposition and + * should therefore not be used to render complex scripts. * * @param text The text to be drawn * @param index The index of the first character to draw @@ -1536,6 +1539,9 @@ public class Canvas { /** * Draw the text in the array, with each character's origin specified by * the pos array. + * + * This method does not support glyph composition and decomposition and + * should therefore not be used to render complex scripts. * * @param text The text to be drawn * @param pos Array of [x,y] positions, used to position each character |