[NTG-pdftex] Is there a limit to the size of PDF files?

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Wed Oct 17 15:41:00 CEST 2007

> Could it be that PDFTeX (as in TeXlive2007 for win32) aborts with an
> obscure error message when the size of the generated PDF file exceeds
> 2GB?

The prototype of fseek() in my old MSVC++ reads
int fseek(FILE *stream, long offset, int origin)
and long (the same as int) is signed 32 bit integer.
Therefore I think 2GB is the limit in the TL win32 pdfTeX.

> If yes, is there a chance to work around this in some way?

I cannot find a workaround.

Best regards,

More information about the ntg-pdftex mailing list