mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-09-21 10:32:02 +02:00
Mirror EOF fix (Issue #136)
This commit is contained in:
@@ -5,6 +5,7 @@ Changes in PDFio
|
||||
v1.5.5 - YYYY-MM-DD
|
||||
-------------------
|
||||
|
||||
- Fixed EOF comment written to the PDF (Issue #136)
|
||||
- Fixed TTF cmap underflow error.
|
||||
- Fixed some Clang warnings.
|
||||
|
||||
|
@@ -2767,7 +2767,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.");
|
||||
ret = false;
|
||||
|
Reference in New Issue
Block a user