shithub: freetype+ttf2subf

Download patch

ref: 0d4ca1386575737ff26dbd0c36844572b75d69ad
parent: 1dacbd893d3c2f027b5c79f504d8899a68112c0c
author: Werner Lemberg <[email protected]>
date: Fri Aug 31 02:53:52 EDT 2018

* src/autofit/afhints.c (af_glyph_hints_reload): Add initialization.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-08-31  Werner Lemberg  <[email protected]>
+
+	* src/autofit/afhints.c (af_glyph_hints_reload): Add initialization.
+
 2018-08-30  Alexei Podtelezhnikov  <[email protected]>
 
 	Consolidate bitmap presetting and size assessment.
@@ -545,7 +549,7 @@
 	  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9501
 
 	* src/smooth/ftgrays.c (ft_smooth_render_generic): Restore buffer
-	after each rendering in case of failure. 
+	after each rendering in case of failure.
 
 2018-07-28  Werner Lemberg  <[email protected]>
 
--- a/src/autofit/afhints.c
+++ b/src/autofit/afhints.c
@@ -928,6 +928,14 @@
               prev     = end;
             }
           }
+
+#ifdef FT_DEBUG_AUTOFIT
+          point->before[0] = NULL;
+          point->before[1] = NULL;
+          point->after[0]  = NULL;
+          point->after[1]  = NULL;
+#endif
+
         }
       }