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

Issue 12391070: Call Skia's version of SkFontHost_fontconfig (Closed)

Created:
7 years, 9 months ago by reed1
Modified:
7 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, Chris Evans, Nico
Visibility:
Public.

Description

Call version of SkFontHost_fontconfig in Skia (cloned from here). Retool the direct/remove plumbing to use SkFontConfigInterface. This change allows Skia to interate on the details of SkFontHost w/o having to synchromize with chrome on each change. It also means Skia's internal testing can exercise exactly the same config that Chrome does. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187283

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 3

Patch Set 5 : #

Total comments: 12

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -1151 lines) Patch
M content/browser/renderer_host/render_sandbox_host_linux.cc View 1 2 3 4 5 6 7 6 chunks +40 lines, -48 lines 0 comments Download
M content/common/font_config_ipc_linux.h View 1 2 3 4 5 6 7 2 chunks +13 lines, -12 lines 0 comments Download
M content/common/font_config_ipc_linux.cc View 1 2 3 4 5 6 7 5 chunks +29 lines, -41 lines 0 comments Download
M content/zygote/zygote_main_linux.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -5 lines 0 comments Download
D skia/ext/SkFontHost_fontconfig.cpp View 1 2 3 4 5 6 7 1 chunk +0 lines, -369 lines 0 comments Download
D skia/ext/SkFontHost_fontconfig_control.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -38 lines 0 comments Download
D skia/ext/SkFontHost_fontconfig_direct.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -59 lines 0 comments Download
D skia/ext/SkFontHost_fontconfig_direct.cpp View 1 2 3 4 5 6 7 1 chunk +0 lines, -504 lines 0 comments Download
D skia/ext/SkFontHost_fontconfig_impl.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -73 lines 0 comments Download
A skia/ext/skia_utils_base.h View 1 2 3 4 5 6 7 8 1 chunk +33 lines, -0 lines 0 comments Download
A skia/ext/skia_utils_base.cc View 1 2 3 4 5 6 1 chunk +53 lines, -0 lines 0 comments Download
M skia/skia.gyp View 1 2 3 4 5 6 7 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
reed1
cevans or thakis, I need an owner reviewer as well. interested?
7 years, 9 months ago (2013-03-04 20:10:32 UTC) #1
Nico
skia/ owners-lgtm cevans probably wants to glance over the ipc bits
7 years, 9 months ago (2013-03-04 20:15:09 UTC) #2
reed1
This requires a small skia change, which should land in DEPS tomorrow morning. I will ...
7 years, 9 months ago (2013-03-04 20:19:37 UTC) #3
cevans
I'm OOO, so is jln@. Perhaps jorgelo@ or palmer@ had a few mins, since it ...
7 years, 9 months ago (2013-03-05 01:27:54 UTC) #4
Chris Palmer
Looking at it now. On Mon, Mar 4, 2013 at 5:27 PM, Chris Evans <cevans@google.com> ...
7 years, 9 months ago (2013-03-05 01:42:51 UTC) #5
Chris Palmer
Oops, I am not going to be able to finish it today (gotta leave at ...
7 years, 9 months ago (2013-03-05 01:49:21 UTC) #6
reed1
The IPC change should reflect the following: The old code kept 2 different private maps, ...
7 years, 9 months ago (2013-03-05 15:22:43 UTC) #7
palmer
https://codereview.chromium.org/12391070/diff/26002/content/browser/renderer_host/render_sandbox_host_linux.cc File content/browser/renderer_host/render_sandbox_host_linux.cc (right): https://codereview.chromium.org/12391070/diff/26002/content/browser/renderer_host/render_sandbox_host_linux.cc#newcode179 content/browser/renderer_host/render_sandbox_host_linux.cc:179: family.c_str(), (SkTypeface::Style)requested_style, C-style cast; use C++ style instead. https://codereview.chromium.org/12391070/diff/26002/content/browser/renderer_host/render_sandbox_host_linux.cc#newcode198 ...
7 years, 9 months ago (2013-03-05 21:38:53 UTC) #8
palmer
Talking with Mike, it sounds like we are going to have to go with some ...
7 years, 9 months ago (2013-03-05 22:32:08 UTC) #9
reed1
Now passing id (index) instead of arbitrary path, so only the secure process gets to ...
7 years, 9 months ago (2013-03-06 14:44:08 UTC) #10
palmer
https://codereview.chromium.org/12391070/diff/32001/content/browser/renderer_host/render_sandbox_host_linux.cc File content/browser/renderer_host/render_sandbox_host_linux.cc (right): https://codereview.chromium.org/12391070/diff/32001/content/browser/renderer_host/render_sandbox_host_linux.cc#newcode166 content/browser/renderer_host/render_sandbox_host_linux.cc:166: int count = paths_.count(); |count| and |i| should be ...
7 years, 9 months ago (2013-03-06 21:26:48 UTC) #11
reed1
https://codereview.chromium.org/12391070/diff/32001/content/browser/renderer_host/render_sandbox_host_linux.cc File content/browser/renderer_host/render_sandbox_host_linux.cc (right): https://codereview.chromium.org/12391070/diff/32001/content/browser/renderer_host/render_sandbox_host_linux.cc#newcode166 content/browser/renderer_host/render_sandbox_host_linux.cc:166: int count = paths_.count(); On 2013/03/06 21:26:48, Chris P. ...
7 years, 9 months ago (2013-03-06 22:03:22 UTC) #12
reed1
I see that pickle has ReadData and WriteData, which handle char arrays. This seems like ...
7 years, 9 months ago (2013-03-06 22:04:34 UTC) #13
reed1
moved pickle helpers for skia types into their own utilities (in skia/ext). This both simplifies ...
7 years, 9 months ago (2013-03-07 14:42:40 UTC) #14
reed1
patch #8 just adds SK_API to new header for sharelib build. ptal
7 years, 9 months ago (2013-03-08 16:20:57 UTC) #15
Jorge Lucangeli Obes
On 2013/03/08 16:20:57, reed1 wrote: > patch #8 just adds SK_API to new header for ...
7 years, 9 months ago (2013-03-08 21:12:32 UTC) #16
reed1
7 years, 9 months ago (2013-03-11 12:46:58 UTC) #17
Message was sent while issue was closed.
Committed patchset #9 manually as r187283.

Powered by Google App Engine
This is Rietveld 408576698