From 1d0f670384327d7898abef21822d0fbf113349e6 Mon Sep 17 00:00:00 2001 From: Han The Thanh Date: Thu, 11 Aug 2011 21:42:31 +0000 Subject: fix from Hartmut for pdftex git-svn-id: svn://tug.org/texlive/trunk@23502 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/pdftexdir/pdftoepdf.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Build/source/texk/web2c/pdftexdir') 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); -- cgit v1.2.3