shithub: freetype+ttf2subf

Download patch

ref: 680ec37326bf491a69ae5ffc968a7ac4a2ec5699
parent: 77054f29092ce5c26da6abb2ff5c43df59e85eac
author: David Turner <[email protected]>
date: Tue Apr 25 12:08:33 EDT 2000

added the FT_LOAD_FORCE_AUOHINT flag

git/fs: mount .git/fs: mount/attach disallowed
--- a/include/freetype.h
+++ b/include/freetype.h
@@ -1311,7 +1311,7 @@
     FT_SubGlyph*      subglyphs;
 
     void*             control_data;
-    void*             control_len;
+    long              control_len;
 
     void*             other;
 
@@ -1794,6 +1794,17 @@
   /*                                                                       */
 #define FT_LOAD_LINEAR  16
 
+  /*************************************************************************/
+  /*                                                                       */
+  /* <Constant>                                                            */
+  /*    FT_LOAD_FORCE_AUTOHINT                                             */
+  /*                                                                       */
+  /* <Description>                                                         */
+  /*    A bit-field constant, used with FT_Load_Glyph() to indicate that   */
+  /*    the function should try to auto-hint the glyphs, even if a driver- */
+  /*    -specific hinter is available..                                    */
+  /*                                                                       */
+#define FT_LOAD_FORCE_AUTOHINT  32
 
   /*************************************************************************/
   /*                                                                       */