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

Issue 887113002: Add factory for Android font manager. (Closed)

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

Description

Add factory for Android font manager. This allows users to create an Android font manager with their own set of fonts, or augment the system set. This will allow for removal of the current globals which are used for a similar, but more constained, purpose. BUG=skia:2817, skia:3314, chromium:407340 Committed: https://skia.googlesource.com/skia/+/7fa87cd09f49f1ee9bc27e263038d0f0ae706241

Patch Set 1 #

Patch Set 2 : Rebase and continue. #

Patch Set 3 : More clean up. Clearer interface. #

Patch Set 4 : Rename to memeq. #

Total comments: 4

Patch Set 5 : Add 'f' and const. #

Total comments: 6

Patch Set 6 : Address comments. #

Patch Set 7 : Fix slicing issue. #

Patch Set 8 : Add some very helpful notification of unexpected failures. #

Patch Set 9 : Remove no longer wanted function. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+380 lines, -306 lines) Patch
A include/ports/SkFontMgr_android.h View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
M include/ports/SkTypeface_android.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -10 lines 0 comments Download
M src/ports/SkFontConfigParser_android.h View 1 2 3 chunks +23 lines, -24 lines 0 comments Download
M src/ports/SkFontConfigParser_android.cpp View 1 2 3 4 5 6 7 8 15 chunks +236 lines, -195 lines 0 comments Download
M src/ports/SkFontMgr_android.cpp View 1 2 3 4 5 6 7 8 9 chunks +72 lines, -74 lines 0 comments Download
M tests/FontConfigParser.cpp View 1 4 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
bungeman-skia
5 years, 10 months ago (2015-02-04 20:54:39 UTC) #2
reed1
https://codereview.chromium.org/887113002/diff/60001/include/ports/SkFontMgr_android.h File include/ports/SkFontMgr_android.h (right): https://codereview.chromium.org/887113002/diff/60001/include/ports/SkFontMgr_android.h#newcode23 include/ports/SkFontMgr_android.h:23: SystemFontUse systemFontUse; Lets follow our std fField name convention. ...
5 years, 10 months ago (2015-02-04 22:36:51 UTC) #4
bungeman-skia
https://codereview.chromium.org/887113002/diff/60001/include/ports/SkFontMgr_android.h File include/ports/SkFontMgr_android.h (right): https://codereview.chromium.org/887113002/diff/60001/include/ports/SkFontMgr_android.h#newcode23 include/ports/SkFontMgr_android.h:23: SystemFontUse systemFontUse; On 2015/02/04 22:36:51, reed1 wrote: > Lets ...
5 years, 10 months ago (2015-02-04 22:45:31 UTC) #5
reed1
public-api lgtm
5 years, 10 months ago (2015-02-04 22:46:12 UTC) #6
djsollen
https://codereview.chromium.org/887113002/diff/80001/src/ports/SkFontMgr_android.cpp File src/ports/SkFontMgr_android.cpp (right): https://codereview.chromium.org/887113002/diff/80001/src/ports/SkFontMgr_android.cpp#newcode513 src/ports/SkFontMgr_android.cpp:513: #define COMMA , what is the point of this ...
5 years, 10 months ago (2015-02-04 23:11:07 UTC) #7
bungeman-skia
https://codereview.chromium.org/887113002/diff/80001/src/ports/SkFontMgr_android.cpp File src/ports/SkFontMgr_android.cpp (right): https://codereview.chromium.org/887113002/diff/80001/src/ports/SkFontMgr_android.cpp#newcode513 src/ports/SkFontMgr_android.cpp:513: #define COMMA , On 2015/02/04 23:11:06, djsollen wrote: > ...
5 years, 10 months ago (2015-02-04 23:32:11 UTC) #8
bungeman-skia
https://codereview.chromium.org/887113002/diff/80001/src/ports/SkFontMgr_android.cpp File src/ports/SkFontMgr_android.cpp (right): https://codereview.chromium.org/887113002/diff/80001/src/ports/SkFontMgr_android.cpp#newcode513 src/ports/SkFontMgr_android.cpp:513: #define COMMA , On 2015/02/04 23:11:06, djsollen wrote: > ...
5 years, 10 months ago (2015-02-04 23:48:50 UTC) #10
bungeman-skia
At patch set 9, I think I've worked out all the bugs. Note that a ...
5 years, 10 months ago (2015-02-05 23:31:49 UTC) #11
reed1
5 years, 10 months ago (2015-02-06 15:37:28 UTC) #12
reed1
lgtm
5 years, 10 months ago (2015-02-06 15:37:34 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/887113002/160001
5 years, 10 months ago (2015-02-06 15:53:35 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 15:59:23 UTC) #16
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://skia.googlesource.com/skia/+/7fa87cd09f49f1ee9bc27e263038d0f0ae706241

Powered by Google App Engine
This is Rietveld 408576698