-
derat authored
r302898 made FontRenderParams avoid calling FcFontMatch() for empty queries, instead just sticking to the default pattern. Many users don't have sane default patterns, though, so instead call FcConfigSubstituteWithPat() to load settings that aren't tied to particular font families. Also use scoped_ptr to simplify FcPattern management and add myself as an owner for font_render_params*. BUG=442443,435277,423056 Review URL: https://codereview.chromium.org/811123002 Cr-Commit-Position: refs/heads/master@{#309560}
2ff93446