shithub: freetype+ttf2subf

Download patch

ref: 81725773800029731617b95cee57cd32a8b46756
parent: 7b841047207c40b70590ab59c11be898a41504c2
author: Alexei Podtelezhnikov <[email protected]>
date: Sat May 4 04:11:20 EDT 2019

* src/smooth/ftgrays.c (gray_render_line): Small shortcut.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-05-04  Alexei Podtelezhnikov  <[email protected]>
+
+	* src/smooth/ftgrays.c (gray_render_line): Small shortcut.
+
 2019-05-04  Werner Lemberg  <[email protected]>
 
 	Various clang 8.0 static analyzer fixes.
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -856,8 +856,8 @@
       ;
     else if ( dy == 0 ) /* ex1 != ex2 */  /* any horizontal line */
     {
-      ex1 = ex2;
-      gray_set_cell( RAS_VAR_ ex1, ey1 );
+      gray_set_cell( RAS_VAR_ ex2, ey2 );
+      goto End;
     }
     else if ( dx == 0 )
     {