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

Issue 1878843002: Add option to specify font fallback when creating the skia font manager (Closed)

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

Description

Add option to specify font fallback when creating the skia font manager This originally existed as https://codereview.chromium.org/1740533003/, but then got reverted for causing perf problems at startup. This change avoids that by allowing callers to specify their own font fallback, and only uses the system fallback if a fallback is needed and none was provided. This is part 1 of a three part change. 1: https://codereview.chromium.org/1878843002/ Adds support for specifying a font fallback in skia 2: https://codereview.chromium.org/1846433005/ Implements the fallback proxy in Chromium 3: https://codereview.chromium.org/1883483002/ Adds code to blink to call skia's fallback API GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1878843002 Committed: https://skia.googlesource.com/skia/+/82497f9300432375cb9fd0e0ceca011ea7dce847

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix indent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -4 lines) Patch
M include/ports/SkTypeface_win.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/ports/SkFontMgr_win_dw.cpp View 1 6 chunks +23 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
Ilya Kulshin
ptal. The previous attempt at this change (https://codereview.chromium.org/1740533003/) was reverted because it was causing performance ...
4 years, 8 months ago (2016-04-12 21:16:05 UTC) #6
bungeman-skia
https://codereview.chromium.org/1878843002/diff/1/src/ports/SkFontMgr_win_dw.cpp File src/ports/SkFontMgr_win_dw.cpp (right): https://codereview.chromium.org/1878843002/diff/1/src/ports/SkFontMgr_win_dw.cpp#newcode282 src/ports/SkFontMgr_win_dw.cpp:282: SkASSERT(fFactory2.get()); nit: Skia uses 4 space indents. https://codereview.chromium.org/1878843002/diff/1/src/ports/SkFontMgr_win_dw.cpp#newcode779 src/ports/SkFontMgr_win_dw.cpp:779: ...
4 years, 8 months ago (2016-04-14 21:48:39 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/1878843002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878843002/1
4 years, 8 months ago (2016-04-14 21:48:50 UTC) #10
bungeman-skia
I know it's a bit late for this now, but if you'd like to run ...
4 years, 8 months ago (2016-04-14 21:50:53 UTC) #11
Ilya Kulshin
https://codereview.chromium.org/1878843002/diff/1/src/ports/SkFontMgr_win_dw.cpp File src/ports/SkFontMgr_win_dw.cpp (right): https://codereview.chromium.org/1878843002/diff/1/src/ports/SkFontMgr_win_dw.cpp#newcode282 src/ports/SkFontMgr_win_dw.cpp:282: SkASSERT(fFactory2.get()); On 2016/04/14 21:48:39, bungeman1 wrote: > nit: Skia ...
4 years, 8 months ago (2016-04-14 22:30:37 UTC) #14
bungeman-skia
lgtm, reed can you take a quick look at the include change?
4 years, 8 months ago (2016-04-15 14:37:12 UTC) #17
reed1
lgtm
4 years, 8 months ago (2016-04-15 14:41:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878843002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878843002/20001
4 years, 8 months ago (2016-04-15 15:10:13 UTC) #20
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 15:20:50 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/82497f9300432375cb9fd0e0ceca011ea7dce847

Powered by Google App Engine
This is Rietveld 408576698