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

Issue 2390623002: Re-limit the CJK font hack for Android to only when the content language is available (Closed)

Created:
4 years, 2 months ago by kojii
Modified:
4 years, 2 months ago
Reviewers:
drott, eae
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-limit the CJK font hack for Android to only when the content language is available Android FontCache has a hack for CJK, put in 2013 or earlier. This hack kicked in only when the content language is one of CJK until M53, but the fix for crbug.com/609043 unintentionally enabled it when the content language is missing and the system language is one of CJK. As a quick fix to ease the possible merge to M54, this patch limits the hack to the same criteria as M53 without reverting crbug.com/609043. A long term solution is to entirely remove this hack, but it will need changes to Skia and possibly to fonts.xml as well. This will be worked out separately. BUG=652146 Committed: https://crrev.com/907fee664f47db6be9319c941a7e219ef4052c2b Cr-Commit-Position: refs/heads/master@{#422424}

Patch Set 1 #

Patch Set 2 : Comments updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M third_party/WebKit/Source/platform/fonts/android/FontCacheAndroid.cpp View 1 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 25 (17 generated)
kojii
PTAL. I'm going to write a separate doc to explain the problem better. Since the ...
4 years, 2 months ago (2016-10-03 13:15:25 UTC) #15
drott
LGTM
4 years, 2 months ago (2016-10-03 13:17:40 UTC) #16
kojii
Thank you!
4 years, 2 months ago (2016-10-03 14:38:45 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2390623002/20001
4 years, 2 months ago (2016-10-03 14:39:00 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-03 15:17:17 UTC) #21
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/907fee664f47db6be9319c941a7e219ef4052c2b Cr-Commit-Position: refs/heads/master@{#422424}
4 years, 2 months ago (2016-10-03 15:19:09 UTC) #23
drott
Thanks, Koji, the commit message made it clear what's going on, that was very helpful.
4 years, 2 months ago (2016-10-03 17:30:17 UTC) #24
eae
4 years, 2 months ago (2016-10-03 18:19:26 UTC) #25
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698