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

Issue 1184923002: Refactor SkFontHost_linux into SkFontMgr_custom. (Closed)

Created:
5 years, 6 months ago by bungeman-skia
Modified:
5 years, 6 months ago
Reviewers:
reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Refactor SkFontHost_linux into SkFontMgr_custom. Committed: https://skia.googlesource.com/skia/+/5cf19498f9455e4aa8685a9d7775fefe42deb22b

Patch Set 1 #

Patch Set 2 : Change some names. #

Patch Set 3 : Remove dead code. #

Total comments: 2

Patch Set 4 : Don't export embedded. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -599 lines) Patch
M gyp/ports.gyp View 5 chunks +15 lines, -12 lines 0 comments Download
A include/ports/SkFontMgr_custom.h View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
D src/ports/SkFontHost_linux.cpp View 1 chunk +0 lines, -534 lines 0 comments Download
A + src/ports/SkFontMgr_custom.cpp View 1 2 3 6 chunks +11 lines, -31 lines 0 comments Download
A src/ports/SkFontMgr_custom_directory_factory.cpp View 1 1 chunk +17 lines, -0 lines 0 comments Download
A src/ports/SkFontMgr_custom_embedded_factory.cpp View 1 2 3 1 chunk +17 lines, -0 lines 2 comments Download
D src/ports/SkFontMgr_default_dw.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
D src/ports/SkFontMgr_default_gdi.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
A + src/ports/SkFontMgr_win_dw_factory.cpp View 1 chunk +3 lines, -5 lines 0 comments Download
A + src/ports/SkFontMgr_win_gdi_factory.cpp View 1 chunk +3 lines, -5 lines 0 comments Download

Messages

Total messages: 26 (8 generated)
bungeman-skia
Start of clean up of files around fonts so things are cleaner and make more ...
5 years, 6 months ago (2015-06-12 22:49:09 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1184923002/40001
5 years, 6 months ago (2015-06-12 22:49:41 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-12 22:54:58 UTC) #6
reed1
https://codereview.chromium.org/1184923002/diff/40001/include/ports/SkFontMgr_custom.h File include/ports/SkFontMgr_custom.h (right): https://codereview.chromium.org/1184923002/diff/40001/include/ports/SkFontMgr_custom.h#newcode18 include/ports/SkFontMgr_custom.h:18: struct SkEmbeddedResource { const uint8_t* data; size_t size; }; ...
5 years, 6 months ago (2015-06-15 15:48:07 UTC) #7
bungeman-skia
https://codereview.chromium.org/1184923002/diff/40001/include/ports/SkFontMgr_custom.h File include/ports/SkFontMgr_custom.h (right): https://codereview.chromium.org/1184923002/diff/40001/include/ports/SkFontMgr_custom.h#newcode18 include/ports/SkFontMgr_custom.h:18: struct SkEmbeddedResource { const uint8_t* data; size_t size; }; ...
5 years, 6 months ago (2015-06-15 16:15:43 UTC) #8
reed1
I am still trying to understand how these fit into the layering of your code-sharing ...
5 years, 6 months ago (2015-06-15 17:25:03 UTC) #9
bungeman-skia
Patch Set 4 sidesteps the issue of what this should look like for now by ...
5 years, 6 months ago (2015-06-15 18:52:30 UTC) #10
reed1
https://codereview.chromium.org/1184923002/diff/60001/src/ports/SkFontMgr_custom_embedded_factory.cpp File src/ports/SkFontMgr_custom_embedded_factory.cpp (right): https://codereview.chromium.org/1184923002/diff/60001/src/ports/SkFontMgr_custom_embedded_factory.cpp#newcode11 src/ports/SkFontMgr_custom_embedded_factory.cpp:11: struct SkEmbeddedResourceHeader { const SkEmbeddedResource* entries; int count; }; ...
5 years, 6 months ago (2015-06-15 20:05:01 UTC) #11
reed1
So reading the old SkFontHost_linux, we seem to do at least 2 things per-entry: 1. ...
5 years, 6 months ago (2015-06-15 20:23:49 UTC) #12
bungeman-skia
https://codereview.chromium.org/1184923002/diff/60001/src/ports/SkFontMgr_custom_embedded_factory.cpp File src/ports/SkFontMgr_custom_embedded_factory.cpp (right): https://codereview.chromium.org/1184923002/diff/60001/src/ports/SkFontMgr_custom_embedded_factory.cpp#newcode11 src/ports/SkFontMgr_custom_embedded_factory.cpp:11: struct SkEmbeddedResourceHeader { const SkEmbeddedResource* entries; int count; }; ...
5 years, 6 months ago (2015-06-15 20:39:39 UTC) #13
reed1
On 2015/06/15 20:39:39, bungeman1 wrote: > https://codereview.chromium.org/1184923002/diff/60001/src/ports/SkFontMgr_custom_embedded_factory.cpp > File src/ports/SkFontMgr_custom_embedded_factory.cpp (right): > > https://codereview.chromium.org/1184923002/diff/60001/src/ports/SkFontMgr_custom_embedded_factory.cpp#newcode11 > ...
5 years, 6 months ago (2015-06-15 20:46:19 UTC) #14
reed1
Don't want to slow this down anymore, but sometime I would like to understand some ...
5 years, 6 months ago (2015-06-15 20:47:49 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1184923002/60001
5 years, 6 months ago (2015-06-15 20:51:06 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-15 21:00:12 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1184923002/60001
5 years, 6 months ago (2015-06-15 21:44:07 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/473)
5 years, 6 months ago (2015-06-15 21:44:48 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1184923002/60001
5 years, 6 months ago (2015-06-15 22:16:42 UTC) #25
commit-bot: I haz the power
5 years, 6 months ago (2015-06-15 22:17:25 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/5cf19498f9455e4aa8685a9d7775fefe42deb22b

Powered by Google App Engine
This is Rietveld 408576698