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

Issue 1471033002: Fix Google3 fonts. (Closed)

Created:
5 years, 1 month ago by dogben
Modified:
5 years ago
Reviewers:
bungeman-skia
CC:
jcgregorio, mtklein, reviews_skia.org
Base URL:
https://skia.googlesource.com/skia@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix Google3 fonts. Use fontconfig rather than custom_directory_factory. Add Google3 font caching. Some future dependents require these changes. Depends on internal cl/108287941. Committed: https://skia.googlesource.com/skia/+/2211a7bdd1680003a4decbebef76f153cd0a28fa

Patch Set 1 : #

Total comments: 5

Patch Set 2 : Refactor based on code review comments. #

Patch Set 3 : Fix gyp. #

Patch Set 4 : Fix gyp; rename files; follow Skia style guide. #

Patch Set 5 : Move files back to ports. #

Total comments: 6

Patch Set 6 : Respond to code review comments. #

Patch Set 7 : Fix include. #

Total comments: 2

Patch Set 8 : Fix BUILD.public, remove virtual from private method. #

Total comments: 8

Patch Set 9 : Reorder includes. #

Patch Set 10 : Rename back to SkFontConfigInterface_direct.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -102 lines) Patch
M BUILD.public View 1 2 3 4 5 6 7 7 chunks +11 lines, -4 lines 0 comments Download
M gyp/ports.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A src/ports/SkFontConfigInterface_direct.h View 1 2 3 4 5 6 7 8 9 1 chunk +43 lines, -0 lines 0 comments Download
M src/ports/SkFontConfigInterface_direct.cpp View 1 2 3 4 5 6 7 8 9 9 chunks +68 lines, -95 lines 0 comments Download
A src/ports/SkFontConfigInterface_direct_factory.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +20 lines, -0 lines 0 comments Download
A src/ports/SkFontConfigInterface_direct_google3.h View 1 2 3 4 5 6 7 8 9 1 chunk +26 lines, -0 lines 0 comments Download
A src/ports/SkFontConfigInterface_direct_google3.cpp View 1 2 3 4 5 6 7 1 chunk +34 lines, -0 lines 0 comments Download
A src/ports/SkFontConfigInterface_direct_google3_factory.cpp View 1 2 3 4 5 6 1 chunk +20 lines, -0 lines 0 comments Download
M tools/BUILD.public.expected View 1 2 3 4 5 6 7 8 9 15 chunks +34 lines, -3 lines 0 comments Download
M tools/BUILD_simulator.py View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 63 (29 generated)
dogben
5 years, 1 month ago (2015-11-23 18:32:21 UTC) #6
bungeman-skia
https://codereview.chromium.org/1471033002/diff/20001/src/ports/SkFontConfigInterface_direct.cpp File src/ports/SkFontConfigInterface_direct.cpp (right): https://codereview.chromium.org/1471033002/diff/20001/src/ports/SkFontConfigInterface_direct.cpp#newcode26 src/ports/SkFontConfigInterface_direct.cpp:26: #if defined(GOOGLE3) I would very much like to minimize ...
5 years, 1 month ago (2015-11-23 19:04:55 UTC) #7
bungeman-skia
https://codereview.chromium.org/1471033002/diff/20001/src/ports/SkFontConfigInterface_direct.cpp File src/ports/SkFontConfigInterface_direct.cpp (right): https://codereview.chromium.org/1471033002/diff/20001/src/ports/SkFontConfigInterface_direct.cpp#newcode114 src/ports/SkFontConfigInterface_direct.cpp:114: class SkFontConfigInterfaceDirect : public SkFontConfigInterface { So here's a ...
5 years, 1 month ago (2015-11-23 21:39:59 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471033002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471033002/40001
5 years, 1 month ago (2015-11-23 22:49:57 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/4390) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on ...
5 years, 1 month ago (2015-11-23 22:50:47 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471033002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471033002/60001
5 years, 1 month ago (2015-11-23 23:19:03 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/4466)
5 years, 1 month ago (2015-11-23 23:20:23 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471033002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471033002/80001
5 years ago (2015-11-24 19:21:34 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/4415)
5 years ago (2015-11-24 19:22:25 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471033002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471033002/120001
5 years ago (2015-11-24 19:55:53 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot/builds/2778) Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on ...
5 years ago (2015-11-24 19:56:43 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471033002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471033002/140001
5 years ago (2015-11-24 21:24:28 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-24 21:37:29 UTC) #30
dogben
Ok, I think I've done what you suggested, and hopefully I updated the correct gyp ...
5 years ago (2015-11-24 21:43:33 UTC) #31
bungeman-skia
I generally like this. https://codereview.chromium.org/1471033002/diff/20001/src/ports/SkFontConfigInterface_direct.cpp File src/ports/SkFontConfigInterface_direct.cpp (right): https://codereview.chromium.org/1471033002/diff/20001/src/ports/SkFontConfigInterface_direct.cpp#newcode356 src/ports/SkFontConfigInterface_direct.cpp:356: #if defined(GOOGLE3) On 2015/11/23 21:39:59, ...
5 years ago (2015-11-24 21:56:37 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471033002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471033002/160001
5 years ago (2015-11-30 16:03:16 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471033002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471033002/180001
5 years ago (2015-11-30 16:12:16 UTC) #37
bungeman-skia
https://codereview.chromium.org/1471033002/diff/180001/src/ports/SkFontConfigInterfaceDirect.h File src/ports/SkFontConfigInterfaceDirect.h (right): https://codereview.chromium.org/1471033002/diff/180001/src/ports/SkFontConfigInterfaceDirect.h#newcode39 src/ports/SkFontConfigInterfaceDirect.h:39: virtual bool isValidPattern(FcPattern* pattern); can we make isValidPattern non-virtual?
5 years ago (2015-11-30 16:15:20 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471033002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471033002/200001
5 years ago (2015-11-30 16:57:51 UTC) #41
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-30 17:10:22 UTC) #43
dogben
PTAL. Sorry for the delay, had other things needing fixing. https://codereview.chromium.org/1471033002/diff/140001/src/ports/SkFontConfigInterfaceDirect.h File src/ports/SkFontConfigInterfaceDirect.h (right): https://codereview.chromium.org/1471033002/diff/140001/src/ports/SkFontConfigInterfaceDirect.h#newcode36 ...
5 years ago (2015-11-30 17:15:31 UTC) #44
bungeman-skia
https://codereview.chromium.org/1471033002/diff/200001/src/ports/SkFontConfigInterfaceDirect.cpp File src/ports/SkFontConfigInterfaceDirect.cpp (right): https://codereview.chromium.org/1471033002/diff/200001/src/ports/SkFontConfigInterfaceDirect.cpp#newcode10 src/ports/SkFontConfigInterfaceDirect.cpp:10: #include "SkFontConfigInterfaceDirect.h" I would just leave this where it ...
5 years ago (2015-11-30 17:54:40 UTC) #45
dogben
https://codereview.chromium.org/1471033002/diff/200001/src/ports/SkFontConfigInterfaceDirect.h File src/ports/SkFontConfigInterfaceDirect.h (right): https://codereview.chromium.org/1471033002/diff/200001/src/ports/SkFontConfigInterfaceDirect.h#newcode13 src/ports/SkFontConfigInterfaceDirect.h:13: #include <fontconfig/fontconfig.h> On 2015/11/30 at 17:54:40, bungeman1 wrote: > ...
5 years ago (2015-11-30 18:20:21 UTC) #46
bungeman-skia
lgtm https://codereview.chromium.org/1471033002/diff/200001/src/ports/SkFontConfigInterfaceDirect.h File src/ports/SkFontConfigInterfaceDirect.h (right): https://codereview.chromium.org/1471033002/diff/200001/src/ports/SkFontConfigInterfaceDirect.h#newcode13 src/ports/SkFontConfigInterfaceDirect.h:13: #include <fontconfig/fontconfig.h> On 2015/11/30 18:20:21, Ben Wagner wrote: ...
5 years ago (2015-11-30 18:25:40 UTC) #47
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471033002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471033002/220001
5 years ago (2015-11-30 19:02:23 UTC) #49
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-30 19:14:29 UTC) #51
dogben
https://codereview.chromium.org/1471033002/diff/200001/src/ports/SkFontConfigInterfaceDirect.cpp File src/ports/SkFontConfigInterfaceDirect.cpp (right): https://codereview.chromium.org/1471033002/diff/200001/src/ports/SkFontConfigInterfaceDirect.cpp#newcode10 src/ports/SkFontConfigInterfaceDirect.cpp:10: #include "SkFontConfigInterfaceDirect.h" On 2015/11/30 17:54:40, bungeman1 wrote: > I ...
5 years ago (2015-11-30 19:14:58 UTC) #52
bungeman-skia
Hmmm... in Patch Set 4 SkFontConfigInterface_direct.cpp became SkFontConfigInterfaceDirect.cpp . Is there a specific reason for ...
5 years ago (2015-11-30 20:16:08 UTC) #53
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471033002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471033002/240001
5 years ago (2015-11-30 20:35:09 UTC) #55
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-30 20:52:42 UTC) #57
dogben
On 2015/11/30 at 20:16:08, bungeman wrote: > Hmmm... in Patch Set 4 SkFontConfigInterface_direct.cpp became SkFontConfigInterfaceDirect.cpp ...
5 years ago (2015-11-30 20:53:53 UTC) #58
bungeman-skia
On 2015/11/30 20:53:53, Ben Wagner wrote: > On 2015/11/30 at 20:16:08, bungeman wrote: > > ...
5 years ago (2015-11-30 20:56:14 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471033002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471033002/240001
5 years ago (2015-12-01 19:11:33 UTC) #61
commit-bot: I haz the power
5 years ago (2015-12-01 19:12:12 UTC) #63
Message was sent while issue was closed.
Committed patchset #10 (id:240001) as
https://skia.googlesource.com/skia/+/2211a7bdd1680003a4decbebef76f153cd0a28fa

Powered by Google App Engine
This is Rietveld 408576698