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

This commit is contained in:
Alexei Podtelezhnikov 2018-11-03 23:02:58 -04:00
parent 547f82f20e
commit d95a12b88d
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2018-11-03 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/truetype/ttgxvar.c (ft_var_apply_tuple): Adjust condition.
2018-11-03 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/truetype/ttgxvar.c (ft_var_apply_tuple): Tracing tweaks.

View File

@ -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",