* src/sfnt/sfobjs.c (sfnt_init_face): Revert macro change.

This commit is contained in:
Alexei Podtelezhnikov 2021-04-26 22:45:40 -04:00
parent 8750e843df
commit caff87b1f9
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2021-04-26 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/sfnt/sfobjs.c (sfnt_init_face): Revert macro change.
2021-04-26 Alexei Podtelezhnikov <apodtele@gmail.com>
[cff] Avoid some memory zeroing.

View File

@ -643,8 +643,8 @@
*/
if ( ( face->variation_support & TT_FACE_FLAG_VAR_FVAR ) &&
!( FT_QALLOC( default_values, num_axes * 4 ) ||
FT_QALLOC( instance_values, num_axes * 4 ) ) )
!( FT_ALLOC( default_values, num_axes * 4 ) ||
FT_ALLOC( instance_values, num_axes * 4 ) ) )
{
/* the current stream position is 16 bytes after the table start */
FT_ULong array_start = FT_STREAM_POS() - 16 + offset;