aboutsummaryrefslogtreecommitdiff
path: root/freetype/src/type1
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-09-05 09:59:28 +0200
committermarha <marha@users.sourceforge.net>2011-09-05 09:59:28 +0200
commit8d96b52ac5e6ec4b6a127a8324c803bcf2732c45 (patch)
tree2c92627c75d6a773f425f924712828d459459aaa /freetype/src/type1
parent324c1ed4069c7d49d0ff7c63261281148f9b6cd8 (diff)
downloadvcxsrv-8d96b52ac5e6ec4b6a127a8324c803bcf2732c45.tar.gz
vcxsrv-8d96b52ac5e6ec4b6a127a8324c803bcf2732c45.tar.bz2
vcxsrv-8d96b52ac5e6ec4b6a127a8324c803bcf2732c45.zip
freetype 2.4.6
Diffstat (limited to 'freetype/src/type1')
-rw-r--r--freetype/src/type1/t1load.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/freetype/src/type1/t1load.c b/freetype/src/type1/t1load.c
index 09fe6adf5..38c74b277 100644
--- a/freetype/src/type1/t1load.c
+++ b/freetype/src/type1/t1load.c
@@ -4,8 +4,7 @@
/* */
/* Type 1 font loader (body). */
/* */
-/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, */
-/* 2010 by */
+/* Copyright 1996-2011 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -922,6 +921,9 @@
PS_Blend blend = face->blend;
+ if ( blend && blend->num_designs == 0 )
+ blend = NULL;
+
/* if the keyword has a dedicated callback, call it */
if ( field->type == T1_FIELD_TYPE_CALLBACK )
{