shithub: freetype+ttf2subf

Download patch

ref: d95a12b88ddfaa531dfe69675ac1004a4758736f
parent: 547f82f20eb52e4421675e1f41c839091f16fd95
author: Alexei Podtelezhnikov <[email protected]>
date: Sat Nov 3 19:02:58 EDT 2018

* src/truetype/ttgxvar.c (ft_var_apply_tuple): Adjust condition.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2018-11-03  Alexei Podtelezhnikov  <[email protected]>
 
+	* src/truetype/ttgxvar.c (ft_var_apply_tuple): Adjust condition.
+
+2018-11-03  Alexei Podtelezhnikov  <[email protected]>
+
 	* src/truetype/ttgxvar.c (ft_var_apply_tuple): Tracing tweaks.
 
 2018-11-03  Alexei Podtelezhnikov  <[email protected]>
--- a/src/truetype/ttgxvar.c
+++ b/src/truetype/ttgxvar.c
@@ -1704,8 +1704,8 @@
       {
         /* intermediate tuple */
 
-        if ( blend->normalizedcoords[i] < im_start_coords[i] ||
-             blend->normalizedcoords[i] > im_end_coords[i]   )
+        if ( blend->normalizedcoords[i] <= im_start_coords[i] ||
+             blend->normalizedcoords[i] >= im_end_coords[i]   )
         {
           FT_TRACE6(( "      intermediate tuple range (%.5f;%.5f) is exceeded,"
                       " stop\n",