summaryrefslogtreecommitdiffstats
path: root/graphics/java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-01-17 14:52:13 -0800
committerRomain Guy <romainguy@google.com>2012-01-17 14:53:26 -0800
commit62b6eaa7f3a8111311a7ee097f278eb55865a499 (patch)
treec41da021e65907a60607fac87c1c7f3172139a73 /graphics/java
parent7677d8f006b94c76dcad6f551bf14f983f58dc14 (diff)
downloadframeworks_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.java6
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