From 3937ab5235483cec68de5809bcd202bbd165b143 Mon Sep 17 00:00:00 2001 From: "derat@chromium.org" Date: Wed, 26 Feb 2014 17:18:11 +0000 Subject: Enable subpixel rendering in custom freetype2 library. Set FT_CONFIG_OPTION_SUBPIXEL_RENDERING in the custom freetype2 library built for content_shell so that local Chrome builds will honor the developer's font settings. BUG=342077 TBR=dpranke@chromium.org Review URL: https://codereview.chromium.org/163433013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253485 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/freetype2/freetype2.patch | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'third_party/freetype2/freetype2.patch') diff --git a/third_party/freetype2/freetype2.patch b/third_party/freetype2/freetype2.patch index d07f8ac..07e94a3 100644 --- a/third_party/freetype2/freetype2.patch +++ b/third_party/freetype2/freetype2.patch @@ -30,6 +30,15 @@ diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftopti index 759b3a3..f921a04 100644 --- a/include/freetype/config/ftoption.h +++ b/include/freetype/config/ftoption.h +@@ -92,7 +92,7 @@ FT_BEGIN_HEADER + /* This is done to allow FreeType clients to run unmodified, forcing */ + /* them to display normal gray-level anti-aliased glyphs. */ + /* */ +-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */ ++#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING + + + /*************************************************************************/ @@ -495,7 +495,7 @@ FT_BEGIN_HEADER /* Do not #undef this macro here, since the build system might */ /* define it for certain configurations only. */ -- cgit v1.1