summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/truetype/ttgxvar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c
index 02e809152..74499c17e 100644
--- a/src/truetype/ttgxvar.c
+++ b/src/truetype/ttgxvar.c
@@ -1009,6 +1009,9 @@
FT_ItemVarDelta returnValue;
+ if ( !face->blend->normalizedcoords )
+ return 0;
+
/* OpenType 1.8.4+: No variation data for this item
* as indices have special value 0xFFFF. */
if ( outerIndex == 0xFFFF && innerIndex == 0xFFFF )