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

Issue 1607943004: Change the system font fallback to take lang attributes into account on Windows (Closed)

Created:
4 years, 11 months ago by kojii
Modified:
4 years, 11 months ago
Reviewers:
drott, eae
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, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change the system font fallback to take lang attributes into account on Windows This patch changes the system font fallback logic on Windows to take lang attributes into account. When a code point is missing in all specified fonts, Blink determines fonts to use by using Unicode properties for the character. The UI locale is also used for characters of Asian scripts where multiple scripts share a large set of the code points. This patch takes the specified lang attribute to take precedence over the UI locale. When language tag does not help to determine the script for the unified ideographs, subtags such as script or country are also used. All test rebaselines are where lang attributes are used, and new results use the correct font for the specified lang. BUG=579492 Committed: https://crrev.com/9ab3e68a0f7b8b71ccca2257d85a06277cac73ff Cr-Commit-Position: refs/heads/master@{#370703}

Patch Set 1 #

Patch Set 2 : TestExpectations #

Patch Set 3 : Add rebaseline result from bot #

Patch Set 4 : Add another test as per drott review #

Patch Set 5 : Fix TestExpectations for the new test #

Messages

Total messages: 22 (11 generated)
kojii
PTAL.
4 years, 11 months ago (2016-01-20 18:20:39 UTC) #5
drott
The code changes look good to me. I see that a couple of Windows baselines ...
4 years, 11 months ago (2016-01-20 20:32:49 UTC) #7
kojii
PTAL. On 2016/01/20 20:32:49, drott wrote: > The code changes look good to me. > ...
4 years, 11 months ago (2016-01-21 02:22:25 UTC) #8
drott
On 2016/01/21 02:22:25, kojii wrote: > PTAL. > > On 2016/01/20 20:32:49, drott wrote: > ...
4 years, 11 months ago (2016-01-21 08:47:36 UTC) #9
kojii
PTAL. On 2016/01/21 08:47:36, drott wrote: > > > > Actually your: > > inspector-protocol/layout-fonts/languages-emoji-rare-glyphs.html ...
4 years, 11 months ago (2016-01-21 09:20:14 UTC) #10
drott
> Done, added a new test and its local result for your review. The test ...
4 years, 11 months ago (2016-01-21 09:25:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1607943004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1607943004/60001
4 years, 11 months ago (2016-01-21 09:30:09 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/168207)
4 years, 11 months ago (2016-01-21 10:20:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1607943004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1607943004/80001
4 years, 11 months ago (2016-01-21 15:16:43 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 11 months ago (2016-01-21 15:48:47 UTC) #20
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 15:50:30 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9ab3e68a0f7b8b71ccca2257d85a06277cac73ff
Cr-Commit-Position: refs/heads/master@{#370703}

Powered by Google App Engine
This is Rietveld 408576698