forked from minhngoc25a/freetype2
* src/sfnt/sfobjs.c (sfnt_init_face): Revert macro change.
This commit is contained in:
parent
8750e843df
commit
caff87b1f9
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue