[truetype] In GX, make intermediate tuplets work at extrema.

* src/truetype/ttgxvar.c (ft_var_apply_tuple): Fix range condition.
This commit is contained in:
Werner Lemberg 2015-05-31 11:57:31 +02:00
parent cdee7d1423
commit 9845c1d4e9
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2015-05-31 Werner Lemberg <wl@gnu.org>
[truetype] In GX, make intermediate tuplets work at extrema.
* src/truetype/ttgxvar.c (ft_var_apply_tuple): Fix range condition.
2015-05-31 Werner Lemberg <wl@gnu.org>
[truetype] Add tracing information to GX code.

View File

@ -612,8 +612,8 @@
: -blend->normalizedcoords[i] );
}
else if ( blend->normalizedcoords[i] <= im_start_coords[i] ||
blend->normalizedcoords[i] >= im_end_coords[i] )
else if ( blend->normalizedcoords[i] < im_start_coords[i] ||
blend->normalizedcoords[i] > im_end_coords[i] )
{
FT_TRACE6(( " intermediate tuple range [%.4f;%.4f] is exceeded,"
" stop\n",