summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorHan The Thanh <hanthethanh@gmail.com>2011-08-11 21:42:31 +0000
committerHan The Thanh <hanthethanh@gmail.com>2011-08-11 21:42:31 +0000
commit1d0f670384327d7898abef21822d0fbf113349e6 (patch)
tree6106206713d6d0d08826a91aa46a21559bcf61c1 /Build
parentffb2fc9956cd54016398a5531c7e6ff7386b1d16 (diff)
fix from Hartmut for pdftex
git-svn-id: svn://tug.org/texlive/trunk@23502 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/pdftexdir/pdftoepdf.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
index 5b1b1279652..d1edb9dcee2 100644
--- a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
+++ b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc
@@ -946,6 +946,9 @@ void write_epdf(void)
copyObject(&dictObj);
} else {
// write Group dict as a separate object, since the Page dict also refers to it
+ pageDict->lookup((char *) "Group", &dictObj);
+ if (!dictObj->isDict())
+ pdftex_fail("PDF inclusion: /Group dict missing");
writeSepGroup = true;
initDictFromDict(groupDict, page->getGroup());
pdf_printf("/Group %d 0 R\n", pdfpagegroupval);