Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Issue 384018: Added a flag to the Canvas class which allows forcing an RTL directionality... (Closed)

Created:
11 years, 1 month ago by idana
Modified:
9 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org, Nebojša Ćirić, jungshik at Google
Visibility:
Public.

Description

Added a flag to the Canvas class which allows forcing an RTL directionality on text drawn using Canvas::DrawStringInt(). Using this flag, it is possible to render RTL text correctly on platforms where LRE/PDF chars are not supported (e.g. Windows XP with no RTL fonts installed). BUG=23425 TEST=Run chrome and enter Hebrew text into the omnibox (see bug description). Make sure suggestions are formatted correctly. Verify in both RTL and LTR UIs. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31619

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -10 lines) Patch
M app/gfx/canvas.h View 1 chunk +10 lines, -0 lines 0 comments Download
M app/gfx/canvas_win.cc View 1 1 chunk +9 lines, -5 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc View 1 3 chunks +18 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
idana
11 years, 1 month ago (2009-11-10 21:12:10 UTC) #1
idana
Reviewers: Peter Kasting, Description: Added a flag to the Canvas class which allows forcing an ...
11 years, 1 month ago (2009-11-10 21:12:28 UTC) #2
Peter Kasting
Basically looks good, I think a few spots could be written a bit more simply ...
11 years, 1 month ago (2009-11-10 21:26:50 UTC) #3
Peter Kasting
Basically looks good, I think a few spots could be written a bit more simply ...
11 years, 1 month ago (2009-11-10 21:27:08 UTC) #4
idana
Thanks for the suggestions, Peter. I changed the code based on your feedback and uploaded ...
11 years, 1 month ago (2009-11-10 23:10:13 UTC) #5
idana
Thanks for the suggestions, Peter. I changed the code based on your feedback and uploaded ...
11 years, 1 month ago (2009-11-10 23:10:35 UTC) #6
Peter Kasting
LGTM, thanks for fixing this!
11 years, 1 month ago (2009-11-10 23:31:36 UTC) #7
Peter Kasting
LGTM, thanks for fixing this! http://codereview.chromium.org/384018
11 years, 1 month ago (2009-11-10 23:31:53 UTC) #8
basesdedatosargentian2_yahoo.com
11 years, 1 month ago (2009-11-10 23:42:41 UTC) #9

--------------------------------------------------
From: <pkasting@chromium.org>
Sent: Tuesday, November 10, 2009 9:31 PM
To: <idana@chromium.org>
Cc: <chromium-reviews@googlegroups.com>; <ben+cc@chromium.org>; 
<cira@chromium.org>; <jshin@chromium.org>
Subject: [chromium-reviews] Re: Added a flag to the Canvas class which 
allows forcing an RTL directionality...

> LGTM, thanks for fixing this!
>
> http://codereview.chromium.org/384018 

Powered by Google App Engine
This is Rietveld 408576698