From 4a74ff1afe53c3a4e1627b1bc553b0b8f016879d Mon Sep 17 00:00:00 2001 From: "senorblanco@chromium.org" Date: Sun, 7 Feb 2010 04:19:46 +0000 Subject: 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 --- skia/config/SkUserConfig.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'skia/config') 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. -- cgit v1.1