freetype2/enable-infinality-subpixel-hinting.patch
Ismail Dönmez 638a078b2f - Remove old ppc64 parts in spec file
- Refresh patches:
  + bugzilla-308961-cmex-workaround.patch
  + don-t-mark-libpng-as-required-library.patch
  + enable-long-family-names-by-default.patch
- Enable subpixel rendering with infinality config:
  + enable-subpixel-rendering.patch
  + enable-infinality-subpixel-hinting.patch

OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=152
2018-10-27 11:56:04 +00:00

16 lines
799 B
Diff

Index: freetype-2.9.1/include/freetype/config/ftoption.h
===================================================================
--- freetype-2.9.1.orig/include/freetype/config/ftoption.h
+++ freetype-2.9.1/include/freetype/config/ftoption.h
@@ -658,8 +658,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 )
/*************************************************************************/