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

Issue 77023006: Only SkFontMgr_New_DirectWrite should call GetSystemFontCollection. (Closed)

Created:
7 years, 1 month ago by bungeman-skia
Modified:
7 years, 1 month ago
Reviewers:
caryclark
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Only SkFontMgr_New_DirectWrite should call GetSystemFontCollection. Aside from the factory helper, there should be no calls to IDWriteFactory::GetSystemFontCollection. All other code should work in terms of IDWriteFontCollection for flexibility and correctness. R=caryclark@google.com Committed: https://code.google.com/p/skia/source/detail?r=12331

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -101 lines) Patch
M src/ports/SkFontHost_win_dw.cpp View 1 5 chunks +37 lines, -101 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
bungeman-skia
This is a continuation of https://codereview.chromium.org/76763002/ to update the DirectWrite backend to the new interfaces, ...
7 years, 1 month ago (2013-11-20 18:45:26 UTC) #1
caryclark
https://codereview.chromium.org/77023006/diff/1/src/ports/SkFontHost_win_dw.cpp File src/ports/SkFontHost_win_dw.cpp (right): https://codereview.chromium.org/77023006/diff/1/src/ports/SkFontHost_win_dw.cpp#newcode133 src/ports/SkFontHost_win_dw.cpp:133: HRESULT getByFamilyName(const char familyName[], IDWriteFontFamily** fontFamily); why return HRESULT ...
7 years, 1 month ago (2013-11-20 19:09:14 UTC) #2
bungeman-skia
Did some more work to address comments pointing out the fundamental weaknesses in the existing ...
7 years, 1 month ago (2013-11-20 21:38:38 UTC) #3
caryclark
lgtm
7 years, 1 month ago (2013-11-20 21:45:52 UTC) #4
bungeman-skia
7 years, 1 month ago (2013-11-20 22:42:16 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r12331 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698