DescriptionIf script text is in right-to-left directionality, it got truncated because the width calculated in SizeStringInt() and DrawStringInt() are different since they are passed in different flags. DrawStringInt() was passed in an extra flag DT_RTLREADING through FORCE_RTL_DIRECTIONALITY.
Fix by passing in the same flag for size calculation and drawing.
BUG=104117
TEST=manual. JS alert a text begins with Hebrew letter followed by a punctuation, such as "A?". It should not be truncated.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124736
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|