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

Issue 1955523002: Fallback on system locale for font selection (Closed)

Created:
4 years, 7 months ago by qi1988.yang
Modified:
4 years, 6 months ago
Reviewers:
rwlbuis, eae, Peng Xinchao, piman
CC:
chromium-reviews, krit, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, vmpstr+blinkwatch_chromium.org, dshwang, jbroman, Justin Novosad, blink-reviews-platform-graphics_chromium.org, Rik, Stephen Chennney, blink-reviews, f(malita), danakj+watch_chromium.org, kinuko+watch, h.joshi
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fallback on system locale for font selection If two character have the same unicode, Font will depend on the language attribute. But if Font do not get locale from net response and Html tag, it should be defaultLanguage. It should not only be EN. BUG=609043 Committed: https://crrev.com/7ae70b716aa5221221412e35796d07b5cb852292 Cr-Commit-Position: refs/heads/master@{#394093}

Patch Set 1 #

Patch Set 2 : Fallback on system locale for font selection #

Patch Set 3 : add testcase #

Total comments: 1

Patch Set 4 : modify testcase #

Total comments: 1

Patch Set 5 : add a doctype in the testcase #

Patch Set 6 : #

Patch Set 7 : add defalut locale of PPapi platform #

Patch Set 8 : add default locale of PPAPI Platform #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -4 lines) Patch
M content/ppapi_plugin/ppapi_blink_platform_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/text/same-script-different-lang-in-Hindi.html View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/text/same-script-different-lang-in-Hindi-expected.html View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontDescription.cpp View 2 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 57 (24 generated)
qi1988.yang
4 years, 7 months ago (2016-05-05 08:50:25 UTC) #2
eae
Change itself makes sense but please add a test and reword the title to something ...
4 years, 7 months ago (2016-05-05 13:18:10 UTC) #3
rwlbuis
On 2016/05/05 13:18:10, eae wrote: > Change itself makes sense but please add a test ...
4 years, 7 months ago (2016-05-05 14:36:51 UTC) #4
Peng Xinchao
On 2016/05/05 13:18:10, eae wrote: > Change itself makes sense but please add a test ...
4 years, 7 months ago (2016-05-06 03:31:31 UTC) #6
Peng Xinchao
On 2016/05/06 03:31:31, pxinchao wrote: > On 2016/05/05 13:18:10, eae wrote: > > Change itself ...
4 years, 7 months ago (2016-05-06 05:25:10 UTC) #8
rwlbuis
On 2016/05/06 05:25:10, pxinchao wrote: > On 2016/05/06 03:31:31, pxinchao wrote: > > On 2016/05/05 ...
4 years, 7 months ago (2016-05-06 16:52:28 UTC) #9
rwlbuis
Thanks for adding the tests, I spotted one mistake. Don't you want to add one ...
4 years, 7 months ago (2016-05-09 19:44:31 UTC) #12
Peng Xinchao
On 2016/05/09 19:44:31, rwlbuis wrote: > Thanks for adding the tests, I spotted one mistake. ...
4 years, 7 months ago (2016-05-10 01:31:24 UTC) #13
rwlbuis
On 2016/05/10 01:31:24, pxinchao wrote: > I have a little trouble of adding testcase for ...
4 years, 7 months ago (2016-05-10 14:11:11 UTC) #14
Peng Xinchao
4 years, 7 months ago (2016-05-11 02:02:27 UTC) #15
Peng Xinchao
4 years, 7 months ago (2016-05-11 02:02:50 UTC) #16
Peng Xinchao
On 2016/05/11 02:02:50, pxinchao wrote: hi , eae , How about you about the patch?
4 years, 7 months ago (2016-05-11 02:07:21 UTC) #17
rwlbuis
On 2016/05/11 02:07:21, pxinchao wrote: > On 2016/05/11 02:02:50, pxinchao wrote: > > hi , ...
4 years, 7 months ago (2016-05-12 18:12:06 UTC) #18
eae
LGTM w/nit https://codereview.chromium.org/1955523002/diff/60001/third_party/WebKit/LayoutTests/fast/text/same-script-different-lang-in-Hindi.html File third_party/WebKit/LayoutTests/fast/text/same-script-different-lang-in-Hindi.html (right): https://codereview.chromium.org/1955523002/diff/60001/third_party/WebKit/LayoutTests/fast/text/same-script-different-lang-in-Hindi.html#newcode1 third_party/WebKit/LayoutTests/fast/text/same-script-different-lang-in-Hindi.html:1: <html> Please add a doctype to prevent ...
4 years, 7 months ago (2016-05-12 18:28:28 UTC) #19
Peng Xinchao
On 2016/05/12 18:28:28, eae wrote: > LGTM w/nit > > https://codereview.chromium.org/1955523002/diff/60001/third_party/WebKit/LayoutTests/fast/text/same-script-different-lang-in-Hindi.html > File > third_party/WebKit/LayoutTests/fast/text/same-script-different-lang-in-Hindi.html ...
4 years, 7 months ago (2016-05-13 02:57:30 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955523002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955523002/80001
4 years, 7 months ago (2016-05-13 09:12:01 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/211887)
4 years, 7 months ago (2016-05-13 09:42:46 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955523002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955523002/100001
4 years, 7 months ago (2016-05-16 01:54:37 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/212742)
4 years, 7 months ago (2016-05-16 02:26:19 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955523002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955523002/120001
4 years, 7 months ago (2016-05-16 02:47:35 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/183522)
4 years, 7 months ago (2016-05-16 02:58:12 UTC) #35
qi1988.yang
hi , piman. I add the default "en" in the local of PPAPI platform. It ...
4 years, 7 months ago (2016-05-16 03:21:21 UTC) #37
piman
lgtm lgtm
4 years, 7 months ago (2016-05-16 17:46:12 UTC) #38
piman
lgtm
4 years, 7 months ago (2016-05-16 17:46:13 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955523002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955523002/140001
4 years, 7 months ago (2016-05-17 01:09:18 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/66932)
4 years, 7 months ago (2016-05-17 01:19:13 UTC) #44
qi1988.yang
hi , piman. I motified the function PpapiBlinkPlatformImpl::defaultLocale(), Please review it againt . Thank you
4 years, 7 months ago (2016-05-17 01:26:24 UTC) #45
piman
lgtm
4 years, 7 months ago (2016-05-17 01:31:21 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955523002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955523002/160001
4 years, 7 months ago (2016-05-17 02:32:09 UTC) #49
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/222798)
4 years, 7 months ago (2016-05-17 07:03:12 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955523002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955523002/160001
4 years, 7 months ago (2016-05-17 07:48:26 UTC) #53
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 7 months ago (2016-05-17 09:48:08 UTC) #55
commit-bot: I haz the power
4 years, 7 months ago (2016-05-17 09:50:48 UTC) #57
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/7ae70b716aa5221221412e35796d07b5cb852292
Cr-Commit-Position: refs/heads/master@{#394093}

Powered by Google App Engine
This is Rietveld 408576698