diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-24 01:19:37 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-24 01:19:37 +0000 |
commit | 6e282c938d74f513dc5a92c2d96cfd955ac05d9b (patch) | |
tree | a44afca80ab807fda393132971c52c8edcdb6cf2 /skia | |
parent | 8c2b005ffdc22c871638d0cfd356441741247bd5 (diff) | |
download | chromium_src-6e282c938d74f513dc5a92c2d96cfd955ac05d9b.zip chromium_src-6e282c938d74f513dc5a92c2d96cfd955ac05d9b.tar.gz chromium_src-6e282c938d74f513dc5a92c2d96cfd955ac05d9b.tar.bz2 |
Linux: splice together RendererPreferences and SkFontHost
Dan Erat has been working down, plumbing the user's font settings from
XSETTINGS in the UI thread of the browser to RendererPreferences in
the renderer. At the same time, I've been working upwards:
implementing subpixel rendering support in Skia and adding an
interface to it in WebCore.
This patch joins the two together. It adds an API surface to the
WebKit API for configuring the font preferences and adds code to
translate from RendererPreferences to that API. It's a little
unfortunate that we need four sets of enums around the code base for
things like the hinting level, but each is supposed to be self
contained and adding a dependancy would much more grevious.
BUG=12179
http://codereview.chromium.org/159152
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21493 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/skia.gyp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skia/skia.gyp b/skia/skia.gyp index 559c90c..9c33f6a 100644 --- a/skia/skia.gyp +++ b/skia/skia.gyp @@ -600,7 +600,7 @@ '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz_interface', ], 'defines': [ - 'SK_BUILD_SUBPIXEL', + 'SK_SUPPORT_LCDTEXT', ], }], [ 'OS == "mac"', { |