shithub: freetype+ttf2subf

Download patch

ref: 2a4c823f89cd9bd01cf9ccc8bcefc976ce06e32a
parent: 01de37e54ff1ab33a29ef4824bb0f644a48fe316
author: Alexei Podtelezhnikov <[email protected]>
date: Fri May 20 18:04:01 EDT 2016

Parentheses.

git/fs: mount .git/fs: mount/attach disallowed
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -632,7 +632,7 @@
   /*                                                                       */
 /* #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     ( 1 | 2 )
 
 
   /*************************************************************************/
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -632,7 +632,7 @@
   /*                                                                       */
 /* #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  ( 1 | 2 ) */
 
 
   /*************************************************************************/
--- a/include/freetype/ftotval.h
+++ b/include/freetype/ftotval.h
@@ -106,12 +106,12 @@
 #define FT_VALIDATE_JSTF  0x1000
 #define FT_VALIDATE_MATH  0x2000
 
-#define FT_VALIDATE_OT  FT_VALIDATE_BASE | \
-                        FT_VALIDATE_GDEF | \
-                        FT_VALIDATE_GPOS | \
-                        FT_VALIDATE_GSUB | \
-                        FT_VALIDATE_JSTF | \
-                        FT_VALIDATE_MATH
+#define FT_VALIDATE_OT  ( FT_VALIDATE_BASE | \
+                          FT_VALIDATE_GDEF | \
+                          FT_VALIDATE_GPOS | \
+                          FT_VALIDATE_GSUB | \
+                          FT_VALIDATE_JSTF | \
+                          FT_VALIDATE_MATH )
 
  /**********************************************************************
   *