diff options
author | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-07 04:19:46 +0000 |
---|---|---|
committer | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-07 04:19:46 +0000 |
commit | 4a74ff1afe53c3a4e1627b1bc553b0b8f016879d (patch) | |
tree | c18cf6865ecd2e4eb13a6e5b93c9a343e3c20f12 /skia | |
parent | 6b80bbed3fad78e7c27b2b19279ea2900c58a9a1 (diff) | |
download | chromium_src-4a74ff1afe53c3a4e1627b1bc553b0b8f016879d.zip chromium_src-4a74ff1afe53c3a4e1627b1bc553b0b8f016879d.tar.gz chromium_src-4a74ff1afe53c3a4e1627b1bc553b0b8f016879d.tar.bz2 |
Enable the use of Freetype's emboldening in Chrome/Linux. Skia's is not so pretty.
BUG=http://crbug.com/22360
TEST=fast/encoding/denormalised-voiced-japanese-chars.html
Review URL: http://codereview.chromium.org/583001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38320 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/config/SkUserConfig.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h index b83a3d6..a51b2fa 100644 --- a/skia/config/SkUserConfig.h +++ b/skia/config/SkUserConfig.h @@ -171,6 +171,10 @@ typedef unsigned uint32_t; #elif defined(SK_BUILD_FOR_UNIX) +// Prefer FreeType's emboldening algorithm to Skia's (which does a hairline +// outline and doesn't look very good). +#define SK_USE_FREETYPE_EMBOLDEN + #ifdef SK_CPU_BENDIAN // Above we set the order for ARGB channels in registers. I suspect that, on // big endian machines, you can keep this the same and everything will work. |