linux: Clean up code for getting font rendering settings.
This adds a new FontRenderParams struct and a function for
getting the system's default settings. It also updates the
various bits of code that were querying various settings
(often handling both GTK and non-GTK cases) to use the new
function instead.
I'm also fixing an issue where RendererPreferences's font
settings (used for web fonts) weren't getting initialized for
the non-GTK case, resulting in web fonts never using subpixel
rendering.
BUG=119193,125235,131501
TEST=manual
Review URL: https://chromiumcodereview.appspot.com/10535097
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141837 0039d316-1c4b-4281-b951-d872f2087c98
11 files changed