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

Issue 1936213002: Clean up SkFontConfigInterface implementation. (Closed)

Created:
4 years, 7 months ago by bungeman-skia
Modified:
4 years, 7 months ago
Reviewers:
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

Clean up SkFontConfigInterface implementation. Renames some classes to avoid confusion with FontConfig. Removed direct calls to FontConfig instead of calling FCI. Moves the globals and factory to one (optional) file. Moves font management code from typeface to font manager. Adds index to fonts created from streams. Associates FCI typefaces with the FCI instance which provides its identity. Simplifies the singleton initialization. Committed: https://skia.googlesource.com/skia/+/0265707c191a31dfde08dd1cd7011c1fe5b8e643

Patch Set 1 #

Patch Set 2 : SkOnce #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -482 lines) Patch
M gyp/ports.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M include/ports/SkFontConfigInterface.h View 4 chunks +5 lines, -2 lines 0 comments Download
M src/fonts/SkFontMgr_fontconfig.cpp View 4 chunks +149 lines, -232 lines 0 comments Download
M src/ports/SkFontConfigInterface_direct.h View 2 chunks +0 lines, -3 lines 0 comments Download
M src/ports/SkFontConfigInterface_direct.cpp View 4 chunks +53 lines, -3 lines 0 comments Download
M src/ports/SkFontConfigInterface_direct_factory.cpp View 1 1 chunk +5 lines, -9 lines 0 comments Download
M src/ports/SkFontConfigInterface_direct_google3_factory.cpp View 1 1 chunk +5 lines, -9 lines 0 comments Download
M src/ports/SkFontConfigTypeface.h View 1 chunk +25 lines, -18 lines 0 comments Download
M src/ports/SkFontHost_fontconfig.cpp View 2 chunks +12 lines, -204 lines 0 comments Download
M tools/tsan.supp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 20 (14 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/1936213002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1936213002/1
4 years, 7 months ago (2016-05-02 16:31:29 UTC) #3
bungeman-skia
This mostly moves code around in order to make the control flow less confusing. Along ...
4 years, 7 months ago (2016-05-02 17:28:24 UTC) #9
reed1
lgtm
4 years, 7 months ago (2016-05-02 17:32:10 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1936213002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1936213002/20001
4 years, 7 months ago (2016-05-02 18:36:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1936213002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1936213002/20001
4 years, 7 months ago (2016-05-02 18:47:04 UTC) #18
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 18:54:16 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/0265707c191a31dfde08dd1cd7011c1fe5b8e643

Powered by Google App Engine
This is Rietveld 408576698