summaryrefslogtreecommitdiffstats
path: root/third_party/freetype2/freetype2.patch
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-26 17:18:11 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-26 17:18:11 +0000
commit3937ab5235483cec68de5809bcd202bbd165b143 (patch)
tree44dae3304b4db158ef6b29b90d8ccc2587a89e8a /third_party/freetype2/freetype2.patch
parent19196960cc20884337a29999c7d372be5e5eef4f (diff)
downloadchromium_src-3937ab5235483cec68de5809bcd202bbd165b143.zip
chromium_src-3937ab5235483cec68de5809bcd202bbd165b143.tar.gz
chromium_src-3937ab5235483cec68de5809bcd202bbd165b143.tar.bz2
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
Diffstat (limited to 'third_party/freetype2/freetype2.patch')
-rw-r--r--third_party/freetype2/freetype2.patch9
1 files changed, 9 insertions, 0 deletions
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. */