ref: 994eb2b34934bc5face9f83b2d3b12cf7a9262ab
parent: b1e0209829d6def7b337700204e2adb75fb9282a
author: Werner Lemberg <[email protected]>
date: Fri Jan 26 18:17:43 EST 2018
[truetype] Fix multiple calls of `FT_Get_MM_Var' (#52955). * src/truetype/ttgxvar.c (TT_Get_MM_Var): Set `face->blend->num_axis' in case we have to initialize the `face->blend'.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-01-26 Ben Wagner <[email protected]>
+
+ [truetype] Fix multiple calls of `FT_Get_MM_Var' (#52955).
+
+ * src/truetype/ttgxvar.c (TT_Get_MM_Var): Set
+ `face->blend->num_axis' in case we have to initialize the
+ `face->blend'.
+
2018-01-23 Alexei Podtelezhnikov <[email protected]>
[apinames] Anonymous version map for GNU linker.
--- a/src/truetype/ttgxvar.c
+++ b/src/truetype/ttgxvar.c
@@ -2048,7 +2048,8 @@
if ( FT_NEW( face->blend ) )
goto Exit;
- num_axes = fvar_head.axisCount;
+ num_axes = fvar_head.axisCount;
+ face->blend->num_axis = num_axes;
}
else
num_axes = face->blend->num_axis;