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

Issue 10658037: Implement right-to-left text rendering in Pepper. (Closed)

Created:
8 years, 6 months ago by brettw
Modified:
8 years, 5 months ago
Reviewers:
viettrungluu
CC:
chromium-reviews
Visibility:
Public.

Description

Implement right-to-left text rendering in Pepper. TEST=included BUG=http://crbug.com/134394 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144623

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : tests #

Total comments: 5

Patch Set 4 : <PATCH DESCRIPTION HERE> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -26 lines) Patch
M ppapi/api/dev/ppb_font_dev.idl View 1 chunk +17 lines, -1 line 0 comments Download
M ppapi/api/trusted/ppb_browser_font_trusted.idl View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/c/dev/ppb_font_dev.h View 1 2 chunks +18 lines, -2 lines 0 comments Download
M ppapi/c/trusted/ppb_browser_font_trusted.h View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc View 1 2 3 5 chunks +125 lines, -20 lines 0 comments Download
M ppapi/tests/test_browser_font.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/tests/test_browser_font.cc View 1 2 3 4 chunks +88 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
brettw
8 years, 6 months ago (2012-06-26 17:10:45 UTC) #1
viettrungluu
Hmmm, can't you at least write an automated test for measurement?
8 years, 6 months ago (2012-06-26 17:35:07 UTC) #2
viettrungluu
https://chromiumcodereview.appspot.com/10658037/diff/2001/ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc File ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc (right): https://chromiumcodereview.appspot.com/10658037/diff/2001/ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc#newcode61 ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc:61: TextRunCollection(const PP_BrowserFont_Trusted_TextRun& run) explicit? https://chromiumcodereview.appspot.com/10658037/diff/2001/ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc#newcode76 ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc:76: ubidi_setPara(bidi_, text_.c_str(), text_.size(), ...
8 years, 6 months ago (2012-06-26 17:59:40 UTC) #3
brettw
new patch up https://chromiumcodereview.appspot.com/10658037/diff/2001/ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc File ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc (right): https://chromiumcodereview.appspot.com/10658037/diff/2001/ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc#newcode94 ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc:94: bool run_rtl = !!ubidi_getVisualRun(bidi_, index, run_start, ...
8 years, 5 months ago (2012-06-27 17:42:46 UTC) #4
viettrungluu
https://chromiumcodereview.appspot.com/10658037/diff/6001/ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc File ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc (right): https://chromiumcodereview.appspot.com/10658037/diff/6001/ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc#newcode103 ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc:103: *run_len = static_cast<int>(text_.size()); int32_t https://chromiumcodereview.appspot.com/10658037/diff/6001/ppapi/tests/test_browser_font.cc File ppapi/tests/test_browser_font.cc (right): https://chromiumcodereview.appspot.com/10658037/diff/6001/ppapi/tests/test_browser_font.cc#newcode60 ...
8 years, 5 months ago (2012-06-27 20:33:58 UTC) #5
viettrungluu
https://chromiumcodereview.appspot.com/10658037/diff/6001/ppapi/tests/test_browser_font.cc File ppapi/tests/test_browser_font.cc (right): https://chromiumcodereview.appspot.com/10658037/diff/6001/ppapi/tests/test_browser_font.cc#newcode23 ppapi/tests/test_browser_font.cc:23: RUN_TEST(Draw, filter); You forgot CharPosRTL.
8 years, 5 months ago (2012-06-27 20:34:28 UTC) #6
brettw
New snap up.
8 years, 5 months ago (2012-06-27 21:48:38 UTC) #7
viettrungluu
LGTM. You can probably update the TEST= line in the CL description.
8 years, 5 months ago (2012-06-27 21:50:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/brettw@chromium.org/10658037/11001
8 years, 5 months ago (2012-06-27 21:58:16 UTC) #9
commit-bot: I haz the power
8 years, 5 months ago (2012-06-28 00:31:57 UTC) #10
Change committed as 144623

Powered by Google App Engine
This is Rietveld 408576698