Use fallback font in PlatformFontPango::DeriveFont().
commit50b7e2fc4c90039b105c0a48c9bc9bfe0c167471
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 18 Jul 2014 16:53:43 +0000 (18 16:53 +0000)
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 18 Jul 2014 16:53:43 +0000 (18 16:53 +0000)
treebded48b327df441237d97f848d12e866a6725278
parent744a494d5bdb17533e669bad06ed6ac4195c4e55
Use fallback font in PlatformFontPango::DeriveFont().

Make DeriveFont() fall back to "sans" if it doesn't find an
SkTypeface matching the requested family, as
InitFromDetails() already did.

Also make InitFromDetails() pass through the requested
style.

BUG=394860

Review URL: https://codereview.chromium.org/399113005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284125 0039d316-1c4b-4281-b951-d872f2087c98
ui/gfx/platform_font_pango.cc