pdf
pdf copied to clipboard
fix a %%EOF bug
According to ISO 32000 3.4.4 File Trailer, %%EOF marker appear somewhere within the last 1024 bytes of the file.
https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/adobe_supplement_iso32000.pdf
Actually I made a mistake. The " last 1024 bytes " limitation is not in ISO 32000, it's adobe's implementaion.
this question also discussed it