shithub: freetype+ttf2subf

Download patch

ref: d4f9c249893a146b0c94a152f7674e288d181f95
parent: 9df460b632985f7d245d7669147c8c6a72724419
author: John Stracke <jstracke@Google.com>
date: Sat Nov 23 06:25:28 EST 2019

[base] Really fix #57194.

Apply accidentally missed second part of patch.

* src/base/ftgloadr.c (FT_GlyphLoader_CheckPoints): Call
`FT_GlyphLoader_CreateExtra'.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2019-11-23  John Stracke  <jstracke@Google.com>
+
+	[base] Really fix #57194.
+
+	Apply accidentally missed second part of patch.
+
+	* src/base/ftgloadr.c (FT_GlyphLoader_CheckPoints): Call
+	`FT_GlyphLoader_CreateExtra'.
+
 2019-11-23  Werner Lemberg  <wl@gnu.org>
 
 	[truetype] Avoid sanitizer warning (#57289).
--- a/src/base/ftgloadr.c
+++ b/src/base/ftgloadr.c
@@ -215,6 +215,10 @@
     FT_UInt      new_max, old_max;
 
 
+    error = FT_GlyphLoader_CreateExtra( loader );
+    if ( error )
+      return error;
+
     /* check points & tags */
     new_max = (FT_UInt)base->n_points + (FT_UInt)current->n_points +
               n_points;
@@ -247,6 +251,10 @@
       adjust = 1;
       loader->max_points = new_max;
     }
+
+    error = FT_GlyphLoader_CreateExtra( loader );
+    if ( error )
+      return error;
 
     /* check contours */
     old_max = loader->max_contours;