DescriptionMerge 137535 - Fix incorrect forcing of text directionality in canvas_skia.cc.
There were two issues:
1. RTL wrapping was simply not happening if your UI language locale was not RTL. Which made FORCE_RTL_DIRECTIONALITY not work.
2. RTL wrapping was not being applied in the SizeStringInt() path, which resulted in an inconsistency between the needed width for SizeStringInt() and DrawStringInt(), causing a problem with the label code resulting in truncation.
This CL fixes both issues.
BUG=128073, 105550
TEST=See testcases attached to bug.
Review URL: https://chromiumcodereview.appspot.com/10384168
TBR=asvitkine@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=137701
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|