diff options
author | Ben Wagner <bungeman@google.com> | 2017-03-08 10:36:31 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-08 16:38:45 +0000 |
commit | c0128d4683d033f5250c35a22e1f857561b22a4b (patch) | |
tree | 822a6e5127c1c78fa52d5097a981d25b713b92dd /include/ports/SkFontMgr_indirect.h | |
parent | aa3af7b4692932c4fab4109b2d9f29ae40e49ad5 (diff) |
DW last resort font default name not necessary.
Currently in SkFontMgr_DirectWrite when trying to find some last resort
font SystemParametersInfoW failing is considered a fatal error and so
onLegacyCreateTypeface will return nullptr. Instead, treat failure of
getDefaultFontFamily as ignorable and continue to the default default.
BUG=chromium:697672
Change-Id: I1ea018627487fbd39b1d0eebad4c798346d09c94
Reviewed-on: https://skia-review.googlesource.com/9408
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'include/ports/SkFontMgr_indirect.h')
0 files changed, 0 insertions, 0 deletions