pdftex[916]

commits+thanh at tug.org commits+thanh at tug.org
Mon Jan 8 07:53:41 CET 2024


Revision: 916
          https://tug.org/svn/pdftex?view=revision&revision=916
Author:   thanh
Date:     2024-01-08 07:53:41 +0100 (Mon, 08 Jan 2024)
Log Message:
-----------
bugfix: pdf inclusion doesn't work properly
https://bugs.ghostscript.com/show_bug.cgi?id=706940

Modified Paths:
--------------
    branches/stable/source/src/texk/web2c/pdftexdir/pdftoepdf.cc

Modified: branches/stable/source/src/texk/web2c/pdftexdir/pdftoepdf.cc
===================================================================
--- branches/stable/source/src/texk/web2c/pdftexdir/pdftoepdf.cc	2024-01-08 06:48:50 UTC (rev 915)
+++ branches/stable/source/src/texk/web2c/pdftexdir/pdftoepdf.cc	2024-01-08 06:53:41 UTC (rev 916)
@@ -1026,9 +1026,6 @@
         pdfendstream();
     }
 
-    // write out all indirect objects
-    writeRefs();
-
     // write out all used encodings (and delete list)
     writeEncodings();
 
@@ -1042,6 +1039,9 @@
                                 // Group included in the Page dict
     }
 
+    // write out all indirect objects
+    writeRefs();
+
     // save object list, xref
     pdf_doc->inObjList = inObjList;
     pdf_doc->xref = xref;



More information about the pdftex-commits mailing list.