[truetype] Fix CVAR handling of tuples for all points.
* src/truetype/ttgxvar (tt_face_vary_cvt): Function `ft_var_readpackedpoints`, when it returns `ALL_POINTS`, also sets `point_count` to value 0. However, the CVAR code was incorrectly expecting that `point_count` would be set to match the length of the CVT table.
This commit is contained in:
parent
23d1d8ada8
commit
9ed5332fe6
|
@ -3416,9 +3416,7 @@
|
||||||
point_count == 0 ? face->cvt_size
|
point_count == 0 ? face->cvt_size
|
||||||
: point_count );
|
: point_count );
|
||||||
|
|
||||||
if ( !points ||
|
if ( !points || !deltas )
|
||||||
!deltas ||
|
|
||||||
( localpoints == ALL_POINTS && point_count != face->cvt_size ) )
|
|
||||||
; /* failure, ignore it */
|
; /* failure, ignore it */
|
||||||
|
|
||||||
else if ( localpoints == ALL_POINTS )
|
else if ( localpoints == ALL_POINTS )
|
||||||
|
|
Loading…
Reference in New Issue