From c2063a5b18bc2e54f000b411c82f43992a53854e Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Mon, 18 Jul 2011 13:35:18 -0700 Subject: Fix bug #5037425 Canvas.drawText can't handle Right-to-Left text and text composing - optimization for single run case was broken - pass isRTL boolean along the call stack instead of the dirFlags integer (which was only used as a "isRTL" in the shaper) - update unit tests Change-Id: I33110b76a433633a0b92fbd1db03785204e0c3e6 --- tests/BiDiTests/res/layout/canvas2.xml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'tests/BiDiTests/res/layout') diff --git a/tests/BiDiTests/res/layout/canvas2.xml b/tests/BiDiTests/res/layout/canvas2.xml index 2513c94..b3e038f 100644 --- a/tests/BiDiTests/res/layout/canvas2.xml +++ b/tests/BiDiTests/res/layout/canvas2.xml @@ -27,36 +27,39 @@ - + android:layout_height="64dp" /> - + android:layout_height="64dp" /> - + android:layout_height="64dp" /> -- cgit v1.1