summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorJjgod Jiang <gzjjgod@gmail.com>2015-04-28 17:33:28 +0000
committerJjgod Jiang <gzjjgod@gmail.com>2015-04-28 17:33:28 +0000
commitf2aeb0eb4039673528ffde33f86c0382907f1df3 (patch)
tree1a44f9a49b6db6a5d4b1336a3d4a1cb553b5a3bc /Build
parent7c60c34cae64d47a2326bbde8c54341d0ed3b8d7 (diff)
Properly initialize cff_font struct
git-svn-id: svn://tug.org/texlive/trunk@37095 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/dvipdfm-x/cff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/cff.c b/Build/source/texk/dvipdfm-x/cff.c
index f8d778165b2..42ed9e60526 100644
--- a/Build/source/texk/dvipdfm-x/cff.c
+++ b/Build/source/texk/dvipdfm-x/cff.c
@@ -70,6 +70,7 @@ cff_font *cff_open(FILE *stream, long offset, int n)
cff->flag = 0;
cff->name = NULL;
+ cff->topdict = NULL;
cff->gsubr = NULL;
cff->encoding = NULL;
cff->charsets = NULL;
@@ -81,6 +82,7 @@ cff_font *cff_open(FILE *stream, long offset, int n)
cff->num_glyphs = 0;
cff->num_fds = 0;
+ cff->string = NULL;
cff->_string = NULL;
cff_seek_set(cff, 0);