[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 994eb2b: [truetype] Fix multiple calls of `FT_Get_MM_
From: |
Werner LEMBERG |
Subject: |
[freetype2] master 994eb2b: [truetype] Fix multiple calls of `FT_Get_MM_Var' (#52955). |
Date: |
Fri, 26 Jan 2018 17:18:01 -0500 (EST) |
branch: master
commit 994eb2b34934bc5face9f83b2d3b12cf7a9262ab
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>
[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'.
---
ChangeLog | 8 ++++++++
src/truetype/ttgxvar.c | 3 ++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 20f1951..f62b673 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-01-26 Ben Wagner <address@hidden>
+
+ [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 <address@hidden>
[apinames] Anonymous version map for GNU linker.
diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c
index 6f456cf..980086c 100644
--- 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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 994eb2b: [truetype] Fix multiple calls of `FT_Get_MM_Var' (#52955).,
Werner LEMBERG <=