diff options
author | bungeman@chromium.org <bungeman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-27 18:56:12 +0000 |
---|---|---|
committer | bungeman@chromium.org <bungeman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-27 18:56:12 +0000 |
commit | 30cdbab5d787827d376faca6ccd02b6df7f9d8a1 (patch) | |
tree | ae76b6681b665c334e07f6c12ff9649e59074652 /ui/gfx/font_render_params_linux.h | |
parent | e2f8f8ade4fed8722823bf6afb9077763ddb8309 (diff) | |
download | chromium_src-30cdbab5d787827d376faca6ccd02b6df7f9d8a1.zip chromium_src-30cdbab5d787827d376faca6ccd02b6df7f9d8a1.tar.gz chromium_src-30cdbab5d787827d376faca6ccd02b6df7f9d8a1.tar.bz2 |
GTK based Linux to respect subpixel positioning request.
Currently, requesting subpixel positioning on the command line is
ignored on GTK based Linux builds, unless --single-process is used.
This change removes that restriction.
Review URL: https://codereview.chromium.org/12351002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184996 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/font_render_params_linux.h')
-rw-r--r-- | ui/gfx/font_render_params_linux.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/gfx/font_render_params_linux.h b/ui/gfx/font_render_params_linux.h index de15d01..ec39302 100644 --- a/ui/gfx/font_render_params_linux.h +++ b/ui/gfx/font_render_params_linux.h @@ -59,6 +59,12 @@ UI_EXPORT const FontRenderParams& GetDefaultFontRenderParams(); // Returns the system's default parameters for WebKit font rendering. UI_EXPORT const FontRenderParams& GetDefaultWebKitFontRenderParams(); +// Returns the system's default parameters for WebKit subpixel positioning. +// Subpixel positioning is special since neither GTK nor FontConfig currently +// track it as a preference. +// See https://bugs.freedesktop.org/show_bug.cgi?id=50736 +UI_EXPORT bool GetDefaultWebkitSubpixelPositioning(); + } // namespace gfx #endif // UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ |