- Add subpixel rendering due to Microsoft joining OIN https://lists.opensuse.org/opensuse-factory/2018-10/msg00325.html OBS-URL: https://build.opensuse.org/request/show/644923 OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=151
16 lines
754 B
Diff
16 lines
754 B
Diff
Index: include/freetype/config/ftoption.h
|
|
===================================================================
|
|
--- include/freetype/config/ftoption.h.orig
|
|
+++ include/freetype/config/ftoption.h
|
|
@@ -654,8 +654,8 @@ FT_BEGIN_HEADER
|
|
/* [1] https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx */
|
|
/* */
|
|
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */
|
|
-#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2
|
|
-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) */
|
|
+/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2 */
|
|
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 )
|
|
|
|
|
|
/*************************************************************************/
|