mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-12-24 05:56:25 +01:00
Merge pull request #136 from uddhavphatak/master
Correct PDF trailer: output %%EOF instead of %EOF
This commit is contained in:
@@ -2964,7 +2964,7 @@ write_trailer(pdfio_file_t *pdf) // I - PDF file
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_pdfioFilePrintf(pdf, "\nstartxref\n%lu\n%%EOF\n", (unsigned long)xref_offset))
|
if (!_pdfioFilePrintf(pdf, "\nstartxref\n%lu\n%%%%EOF\n", (unsigned long)xref_offset))
|
||||||
{
|
{
|
||||||
_pdfioFileError(pdf, "Unable to write xref offset.");
|
_pdfioFileError(pdf, "Unable to write xref offset.");
|
||||||
ret = false;
|
ret = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user