diff --git a/common/common_plotPDF_functions.cpp b/common/common_plotPDF_functions.cpp index 7d75be97d4..7de4a6bd6a 100644 --- a/common/common_plotPDF_functions.cpp +++ b/common/common_plotPDF_functions.cpp @@ -723,7 +723,7 @@ bool PDF_PLOTTER::EndPlot() "<< /Size %lu /Root %d 0 R /Info %d 0 R >>\n" "startxref\n" "%ld\n" // The offset we saved before - "%%EOF\n", + "%%%%EOF\n", (unsigned long) xrefTable.size(), catalogHandle, infoDictHandle, xref_start ); fclose( outputFile );