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

Issue 1877673002: Move legacyCreateTypeface to SkFontStyle. (Closed)

Created:
4 years, 8 months ago by bungeman-chromium
Modified:
4 years, 8 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, yzshen+watch_chromium.org, kinuko+watch, ben+mojo_chromium.org, Stephen Chennney, rwlbuis, krit, drott+blinkwatch_chromium.org, Justin Novosad, abarth-chromium, Rik, darin-cc_chromium.org, blink-reviews, jbroman, rickyz+watch_chromium.org, pdr+graphicswatchlist_chromium.org, darin (slow to review), Aaron Boodman, f(malita), danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move legacyCreateTypeface to SkFontStyle. This allows Chromium and Blink to ask for arbitrary font weights now, making the transition to SkFontMgr easier. Committed: https://crrev.com/079490eadcb27d78f888124a105b5576e33fc69a Cr-Commit-Position: refs/heads/master@{#386914}

Patch Set 1 #

Patch Set 2 : Fix things. #

Patch Set 3 : Line length and naming. #

Patch Set 4 : Rebase, update Skia change. #

Total comments: 2

Patch Set 5 : Address comment. #

Total comments: 4

Patch Set 6 : Address comments. #

Total comments: 2

Patch Set 7 : Update Skia patch to fix Mac. #

Total comments: 3

Patch Set 8 : Remove DEPS change now that Skia change has landed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -72 lines) Patch
M components/font_service/font_service_app.h View 1 chunk +1 line, -1 line 0 comments Download
M components/font_service/font_service_app.cc View 1 2 3 chunks +21 lines, -17 lines 0 comments Download
M components/font_service/public/cpp/font_loader.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/font_service/public/cpp/font_loader.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/font_service/public/cpp/font_service_thread.h View 1 3 chunks +6 lines, -6 lines 0 comments Download
M components/font_service/public/cpp/font_service_thread.cc View 1 2 4 chunks +15 lines, -8 lines 0 comments Download
M components/font_service/public/interfaces/font_service.mojom View 1 2 3 4 1 chunk +9 lines, -5 lines 0 comments Download
M content/browser/renderer_host/sandbox_ipc_linux.cc View 1 2 3 4 5 2 chunks +6 lines, -5 lines 0 comments Download
M content/child/font_warmup_win_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/common/font_config_ipc_linux.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/font_config_ipc_linux.cc View 1 2 3 4 5 4 chunks +6 lines, -6 lines 0 comments Download
M skia/chromium_skia_defines.gypi View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M skia/ext/skia_utils_base.h View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M skia/ext/skia_utils_base.cc View 1 2 3 4 5 2 chunks +24 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.cpp View 2 chunks +7 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp View 1 3 chunks +6 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 43 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1877673002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1877673002/20001
4 years, 8 months ago (2016-04-11 14:11:07 UTC) #2
commit-bot: I haz the power
Dry run: 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/166916)
4 years, 8 months ago (2016-04-11 14:20:05 UTC) #4
bungeman-chromium
4 years, 8 months ago (2016-04-11 17:59:12 UTC) #9
Elliot Glaysher
components/font_service lgtm https://codereview.chromium.org/1877673002/diff/60001/components/font_service/public/interfaces/font_service.mojom File components/font_service/public/interfaces/font_service.mojom (right): https://codereview.chromium.org/1877673002/diff/60001/components/font_service/public/interfaces/font_service.mojom#newcode11 components/font_service/public/interfaces/font_service.mojom:11: struct TypefaceStyle { one line of whitespace ...
4 years, 8 months ago (2016-04-11 18:04:42 UTC) #10
eae
LGTM for Blink
4 years, 8 months ago (2016-04-11 18:21:55 UTC) #11
bungeman-chromium
https://codereview.chromium.org/1877673002/diff/60001/components/font_service/public/interfaces/font_service.mojom File components/font_service/public/interfaces/font_service.mojom (right): https://codereview.chromium.org/1877673002/diff/60001/components/font_service/public/interfaces/font_service.mojom#newcode11 components/font_service/public/interfaces/font_service.mojom:11: struct TypefaceStyle { On 2016/04/11 18:04:41, Elliot Glaysher wrote: ...
4 years, 8 months ago (2016-04-11 18:29:22 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1877673002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1877673002/80001
4 years, 8 months ago (2016-04-11 18:42:28 UTC) #15
dcheng
https://codereview.chromium.org/1877673002/diff/80001/content/common/font_config_ipc_linux.cc File content/common/font_config_ipc_linux.cc (right): https://codereview.chromium.org/1877673002/diff/80001/content/common/font_config_ipc_linux.cc#newcode79 content/common/font_config_ipc_linux.cc:79: request.WriteUInt32(static_cast<uint32_t>(requestedStyle)); How does this work? Isn't SkFontStyle a class? ...
4 years, 8 months ago (2016-04-11 19:51:07 UTC) #16
bungeman-chromium
https://codereview.chromium.org/1877673002/diff/80001/content/common/font_config_ipc_linux.cc File content/common/font_config_ipc_linux.cc (right): https://codereview.chromium.org/1877673002/diff/80001/content/common/font_config_ipc_linux.cc#newcode79 content/common/font_config_ipc_linux.cc:79: request.WriteUInt32(static_cast<uint32_t>(requestedStyle)); On 2016/04/11 19:51:06, dcheng wrote: > How does ...
4 years, 8 months ago (2016-04-11 20:32:17 UTC) #17
dcheng
https://codereview.chromium.org/1877673002/diff/80001/content/common/font_config_ipc_linux.cc File content/common/font_config_ipc_linux.cc (right): https://codereview.chromium.org/1877673002/diff/80001/content/common/font_config_ipc_linux.cc#newcode79 content/common/font_config_ipc_linux.cc:79: request.WriteUInt32(static_cast<uint32_t>(requestedStyle)); On 2016/04/11 20:32:17, bungeman2 wrote: > On 2016/04/11 ...
4 years, 8 months ago (2016-04-11 21:06:50 UTC) #18
bungeman-chromium
https://codereview.chromium.org/1877673002/diff/80001/content/common/font_config_ipc_linux.cc File content/common/font_config_ipc_linux.cc (right): https://codereview.chromium.org/1877673002/diff/80001/content/common/font_config_ipc_linux.cc#newcode79 content/common/font_config_ipc_linux.cc:79: request.WriteUInt32(static_cast<uint32_t>(requestedStyle)); On 2016/04/11 21:06:50, dcheng wrote: > On 2016/04/11 ...
4 years, 8 months ago (2016-04-11 22:31:11 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1877673002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1877673002/100001
4 years, 8 months ago (2016-04-11 22:33:04 UTC) #21
bungeman-chromium
jam: hate to bug you for this, but I apparently need a content/OWNER for the ...
4 years, 8 months ago (2016-04-11 22:35:11 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/17338) ios_rel_device_gn on ...
4 years, 8 months ago (2016-04-11 22:42:27 UTC) #25
dcheng
https://codereview.chromium.org/1877673002/diff/100001/content/common/font_config_ipc_linux.cc File content/common/font_config_ipc_linux.cc (right): https://codereview.chromium.org/1877673002/diff/100001/content/common/font_config_ipc_linux.cc#newcode109 content/common/font_config_ipc_linux.cc:109: *outStyle = reply_style; I don't think I conveyed my ...
4 years, 8 months ago (2016-04-12 00:01:24 UTC) #26
jam
On 2016/04/11 22:35:11, bungeman2 wrote: > jam: hate to bug you for this, but I ...
4 years, 8 months ago (2016-04-12 16:03:44 UTC) #27
bungeman-chromium
https://codereview.chromium.org/1877673002/diff/100001/content/common/font_config_ipc_linux.cc File content/common/font_config_ipc_linux.cc (right): https://codereview.chromium.org/1877673002/diff/100001/content/common/font_config_ipc_linux.cc#newcode109 content/common/font_config_ipc_linux.cc:109: *outStyle = reply_style; On 2016/04/12 00:01:24, dcheng wrote: > ...
4 years, 8 months ago (2016-04-12 16:35:36 UTC) #28
dcheng
On 2016/04/12 16:35:36, bungeman2 wrote: > https://codereview.chromium.org/1877673002/diff/100001/content/common/font_config_ipc_linux.cc > File content/common/font_config_ipc_linux.cc (right): > > https://codereview.chromium.org/1877673002/diff/100001/content/common/font_config_ipc_linux.cc#newcode109 > ...
4 years, 8 months ago (2016-04-12 17:11:23 UTC) #29
bungeman-chromium
https://codereview.chromium.org/1877673002/diff/120001/skia/ext/skia_utils_base.cc File skia/ext/skia_utils_base.cc (right): https://codereview.chromium.org/1877673002/diff/120001/skia/ext/skia_utils_base.cc#newcode53 skia/ext/skia_utils_base.cc:53: if (style) { On 2016/04/12 17:11:23, dcheng wrote: > ...
4 years, 8 months ago (2016-04-12 18:15:39 UTC) #30
bungeman-chromium
https://codereview.chromium.org/1877673002/diff/120001/skia/ext/skia_utils_base.cc File skia/ext/skia_utils_base.cc (right): https://codereview.chromium.org/1877673002/diff/120001/skia/ext/skia_utils_base.cc#newcode53 skia/ext/skia_utils_base.cc:53: if (style) { On 2016/04/12 18:15:38, bungeman2 wrote: > ...
4 years, 8 months ago (2016-04-12 18:47:04 UTC) #31
dcheng
lgtm I'm OK with PS7. It would be nice to simplify this, but that can ...
4 years, 8 months ago (2016-04-12 18:57:08 UTC) #32
commit-bot: I haz the power
COMMIT=false detected. CQ is abandoning the patch.
4 years, 8 months ago (2016-04-13 02:35:44 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1877673002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1877673002/140001
4 years, 8 months ago (2016-04-13 02:36:51 UTC) #39
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-13 04:42:45 UTC) #41
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 04:43:46 UTC) #43
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/079490eadcb27d78f888124a105b5576e33fc69a
Cr-Commit-Position: refs/heads/master@{#386914}

Powered by Google App Engine
This is Rietveld 408576698