Commit caff87b1f939d9141232d7de0d2350d4c0cf34d6

Alexei Podtelezhnikov 2021-04-26T22:45:40

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

diff --git a/ChangeLog b/ChangeLog
index 6726962..d59aab6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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.
 
 	* src/cff/cffparse.c (cff_parser_init): Tweak memory macro.
diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c
index 404c31d..b88dbb7 100644
--- a/src/sfnt/sfobjs.c
+++ b/src/sfnt/sfobjs.c
@@ -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;