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
Showing
Please register or sign in to comment