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

Issue 1740533003: Initialize font fallback when creating DWrite font manager (Closed)

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

Description

Initialize the font fallback when the direct write font manager is created. This ensures that the fallback is initialized prior to sandbox startup in Chromium. This enables the use of font fallback when combined with Chromium change https://codereview.chromium.org/1740593002/ Committed: https://skia.googlesource.com/skia/+/042f859c19f71ca9feacddd1cb058ff59eed8963

Patch Set 1 #

Total comments: 6

Patch Set 2 : Refactor fallback initialization so it occurs in the factory method #

Patch Set 3 : Fix build when DWrite2.h is not available #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -17 lines) Patch
M src/ports/SkFontMgr_win_dw.cpp View 1 2 7 chunks +33 lines, -17 lines 1 comment Download

Messages

Total messages: 22 (13 generated)
Ilya Kulshin
ptal
4 years, 9 months ago (2016-02-29 22:46:01 UTC) #4
reed1
over to ben... https://codereview.chromium.org/1740533003/diff/1/include/ports/SkTypeface_win.h File include/ports/SkTypeface_win.h (right): https://codereview.chromium.org/1740533003/diff/1/include/ports/SkTypeface_win.h#newcode47 include/ports/SkTypeface_win.h:47: SK_API SkFontMgr* SkFontMgr_New_DirectWrite(IDWriteFactory* factory = NULL, ...
4 years, 9 months ago (2016-03-01 14:05:43 UTC) #6
bungeman-skia
https://codereview.chromium.org/1740533003/diff/1/src/ports/SkFontMgr_win_dw.cpp File src/ports/SkFontMgr_win_dw.cpp (right): https://codereview.chromium.org/1740533003/diff/1/src/ports/SkFontMgr_win_dw.cpp#newcode769 src/ports/SkFontMgr_win_dw.cpp:769: if (fFactory2.get() || fFontFallback.get()) { As this code stands, ...
4 years, 9 months ago (2016-03-01 16:09:24 UTC) #8
Ilya Kulshin
ptal. I refactored the change so that Skia will now initialize the font fallback when ...
4 years, 9 months ago (2016-03-07 23:42:04 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/1740533003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1740533003/60001
4 years, 9 months ago (2016-03-08 01:54:30 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-08 02:05:34 UTC) #16
bungeman-skia
lgtm https://codereview.chromium.org/1740533003/diff/60001/src/ports/SkFontMgr_win_dw.cpp File src/ports/SkFontMgr_win_dw.cpp (right): https://codereview.chromium.org/1740533003/diff/60001/src/ports/SkFontMgr_win_dw.cpp#newcode1099 src/ports/SkFontMgr_win_dw.cpp:1099: #endif This is now somewhat squirrelly, in that ...
4 years, 9 months ago (2016-03-08 19:02:45 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1740533003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1740533003/60001
4 years, 9 months ago (2016-03-09 01:29:08 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-09 01:30:12 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://skia.googlesource.com/skia/+/042f859c19f71ca9feacddd1cb058ff59eed8963

Powered by Google App Engine
This is Rietveld 408576698