summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvipdfmx/src/t1_load.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-03-30 00:14:53 +0000
committerKarl Berry <karl@freefriends.org>2010-03-30 00:14:53 +0000
commit779a9884b38001603760cc07d1fc4d71c4ecf381 (patch)
tree17440ff0b9217698f055984a4c2a7be0f9accde4 /Build/source/texk/xdvipdfmx/src/t1_load.c
parenta41bd72f4fb1b22175a653065ad065fced11d4da (diff)
patch for \special{pdf:minorversion 5} from ChoF (and memory leaks), commit ok from Jonathan
git-svn-id: svn://tug.org/texlive/trunk@17618 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvipdfmx/src/t1_load.c')
-rw-r--r--Build/source/texk/xdvipdfmx/src/t1_load.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/xdvipdfmx/src/t1_load.c b/Build/source/texk/xdvipdfmx/src/t1_load.c
index b6664ec2961..08928767cbd 100644
--- a/Build/source/texk/xdvipdfmx/src/t1_load.c
+++ b/Build/source/texk/xdvipdfmx/src/t1_load.c
@@ -1162,6 +1162,10 @@ init_cff_font (cff_font *cff)
cff->num_glyphs = 0;
cff->num_fds = 1;
cff->_string = cff_new_index(0);
+
+#ifdef XETEX
+ cff->ft_to_gid = NULL;
+#endif
}
cff_font *