Only use subpixel-positioned text in UI when requested.
commit4eced6796a3c2fedcf2cf46701f138ddc16497a8
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 15 Feb 2014 16:13:08 +0000 (15 16:13 +0000)
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 15 Feb 2014 16:13:08 +0000 (15 16:13 +0000)
tree596ff77070fefe83382518d93d26ffb8adf46032
parenta7d127cfd6f62cdfc15d1a6bee380ba41905469f
Only use subpixel-positioned text in UI when requested.

Update SkiaTextRenderer to explicitly take a
|subpixel_positioning| parameter. Previously, it requested
subpixel positioning whenever antialiasing was enabled,
which prevented users' strong-hinting settings from being
honored.

BUG=318395

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251580 0039d316-1c4b-4281-b951-d872f2087c98
ui/gfx/render_text.cc
ui/gfx/render_text.h
ui/gfx/render_text_pango.cc
ui/gfx/render_text_win.cc