[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'.
This commit is contained in:
Werner Lemberg 2018-01-26 23:17:43 +01:00
parent b1e0209829
commit 994eb2b349
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2018-01-26 Ben Wagner <bungeman@google.com>
[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 <apodtele@gmail.com>
[apinames] Anonymous version map for GNU linker.

View File

@ -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;