Upgrade to fontconfig-2.11.1 and freetype-2.5.4
[hvlinux.git] / stage3 / patches / common / freetype-2.5.4-enable-subpixel.patch
diff --git a/stage3/patches/common/freetype-2.5.4-enable-subpixel.patch b/stage3/patches/common/freetype-2.5.4-enable-subpixel.patch
new file mode 100644 (file)
index 0000000..16ac285
--- /dev/null
@@ -0,0 +1,21 @@
+diff -Naur freetype-2.5.4.orig2/include/config/ftoption.h freetype-2.5.4.new/include/config/ftoption.h
+--- freetype-2.5.4.orig2/include/config/ftoption.h     2014-11-19 16:38:59.612015975 -0500
++++ freetype-2.5.4.new/include/config/ftoption.h       2014-12-09 22:41:35.854352254 -0500
+@@ -92,7 +92,7 @@
+   /* 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
+   /*************************************************************************/
+@@ -604,7 +604,7 @@
+   /*   This option requires TT_CONFIG_OPTION_BYTECODE_INTERPRETER to be    */
+   /*   defined.                                                            */
+   /*                                                                       */
+-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING */
++#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
+   /*************************************************************************/