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

Issue 2259733002: Require certain faimilies to contain certain styles (Closed)

Created:
4 years, 4 months ago by Ilya Kulshin
Modified:
4 years, 4 months ago
Reviewers:
ananta, eae, Steven Holte
CC:
chromium-reviews, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Require certain faimilies to contain certain styles This is a workaround for 635932, so that Chrome will ignore certain font families unless they contain the specified font styles. We start out requiring that Helvetica and Open Sans contain the regular variant, because in some cases they get installed only in specialized variants which results in fonts incorrectly displaying bold or condensed. BUG=635932 Committed: https://crrev.com/0bf300d07fe226dc48da9cbfaa6d9ea36480f66d Cr-Commit-Position: refs/heads/master@{#413323}

Patch Set 1 #

Patch Set 2 : Update comments and add telemetry #

Patch Set 3 : Add a dcheck and don't block attempted loading if font cannot be loaded at all #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -7 lines) Patch
M content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc View 1 2 3 chunks +59 lines, -1 line 2 comments Download
M tools/metrics/histograms/histograms.xml View 1 3 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 29 (18 generated)
Ilya Kulshin
ptal: this is a workaround for crbug.com/635932 ananata@ - dwrite_font_proxy_message_filter_win.cc holte@ - histograms.xml eae@ - ...
4 years, 4 months ago (2016-08-18 23:19:23 UTC) #14
eae
Seems entirely reasonable to me and will certainly help a lot of people missing the ...
4 years, 4 months ago (2016-08-18 23:27:48 UTC) #16
Steven Holte
histograms lgtm
4 years, 4 months ago (2016-08-19 19:14:08 UTC) #17
ananta
https://codereview.chromium.org/2259733002/diff/40001/content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc File content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc (right): https://codereview.chromium.org/2259733002/diff/40001/content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc#newcode146 content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc:146: DWRITE_FONT_STYLE_NORMAL}, Is this list likely to grow?. Do IE ...
4 years, 4 months ago (2016-08-19 21:19:49 UTC) #18
Ilya Kulshin
https://codereview.chromium.org/2259733002/diff/40001/content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc File content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc (right): https://codereview.chromium.org/2259733002/diff/40001/content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc#newcode146 content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc:146: DWRITE_FONT_STYLE_NORMAL}, On 2016/08/19 21:19:49, ananta wrote: > Is this ...
4 years, 4 months ago (2016-08-19 21:29:42 UTC) #19
ananta
LGTM.
4 years, 4 months ago (2016-08-19 22:00:29 UTC) #20
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/2259733002/40001
4 years, 4 months ago (2016-08-20 00:24:31 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/126312)
4 years, 4 months ago (2016-08-20 03:53:43 UTC) #24
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/2259733002/40001
4 years, 4 months ago (2016-08-20 03:59:33 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-20 04:55:31 UTC) #27
commit-bot: I haz the power
4 years, 4 months ago (2016-08-20 04:57:51 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0bf300d07fe226dc48da9cbfaa6d9ea36480f66d
Cr-Commit-Position: refs/heads/master@{#413323}

Powered by Google App Engine
This is Rietveld 408576698