summaryrefslogtreecommitdiff
path: root/fofi
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2011-09-03 11:02:55 +0200
committerCarlos Garcia Campos <carlosgc@gnome.org>2011-09-03 11:02:55 +0200
commit9d77f999de973f3c547245bca0568f8984faa5d7 (patch)
tree934f5ab7f44e2342fd1a9e830b0eb53076778753 /fofi
parentd9594c95713ac79b46e313ecf2875196ea076ef4 (diff)
xpdf303: Initialize nFDs in FoFiType1C::parse()
Diffstat (limited to 'fofi')
-rw-r--r--fofi/FoFiType1C.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/fofi/FoFiType1C.cc b/fofi/FoFiType1C.cc
index 19b8a97e..6df4af52 100644
--- a/fofi/FoFiType1C.cc
+++ b/fofi/FoFiType1C.cc
@@ -2024,6 +2024,7 @@ GBool FoFiType1C::parse() {
// for 8-bit fonts: read the private dict
} else {
+ nFDs = 1;
privateDicts = (Type1CPrivateDict *)gmalloc(sizeof(Type1CPrivateDict));
readPrivateDict(topDict.privateOffset, topDict.privateSize,
&privateDicts[0]);