From cc1fd2ff2a440a7fdb2a30ef66aba31043c4ba92 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 1 Jun 2016 16:06:07 +0200 Subject: Add FZ_ENABLE_JS configuration define. --- docs/mutool/examples/pdf-merge.js | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/mutool') diff --git a/docs/mutool/examples/pdf-merge.js b/docs/mutool/examples/pdf-merge.js index dd5fb2a5..d8cdcfcb 100644 --- a/docs/mutool/examples/pdf-merge.js +++ b/docs/mutool/examples/pdf-merge.js @@ -35,6 +35,7 @@ function copyPage(dstDoc, srcDoc, pageNumber, map) { var srcPage, dstPage srcPage = srcDoc.findPage(pageNumber) dstPage = dstDoc.newDictionary() + dstPage.Type = dstDoc.newName("Page") if (srcPage.MediaBox) dstPage.MediaBox = graftObject(dstDoc, srcDoc, srcPage.MediaBox, map) if (srcPage.Rotate) dstPage.Rotate = graftObject(dstDoc, srcDoc, srcPage.Rotate, map) if (srcPage.Resources) dstPage.Resources = graftObject(dstDoc, srcDoc, srcPage.Resources, map) -- cgit v1.2.3