shithub: freetype+ttf2subf

Download patch

ref: 2d3f5dd294527974bd29f68f2a48bd58d09d1e9b
parent: c653b8d2f14a4bf4ca967b976c64aa0fb2bdfd0f
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Wed May 12 13:24:35 EDT 2021

* src/smooth/ftgrays.c (FT_MAX_GRAY_SPANS): Increase from 10 to 16.

Ten was barely enough for two slanted stems. Sixteen can actually fit
a bit more complicated scanlines.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2021-05-12  Alexei Podtelezhnikov  <apodtele@gmail.com>
+
+	* src/smooth/ftgrays.c (FT_MAX_GRAY_SPANS): Increase from 10 to 16.
+
+	Ten was barely enough for two slanted stems. Sixteen can actually fit
+	a bit more complicated scanlines.
+
 2021-05-11  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
 	* src/smooth/ftgrays.c (FT_GRAY_SET): Adjust for better code.
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -467,7 +467,7 @@
 #endif
 
   /* FT_Span buffer size for direct rendering only */
-#define FT_MAX_GRAY_SPANS  10
+#define FT_MAX_GRAY_SPANS  16
 
 
 #if defined( _MSC_VER )      /* Visual C++ (and Intel C++) */