Menu

#904 PDF corrupted

v1.0_(example)
closed
1
2014-08-16
2014-04-05
No

Hi,

Thanks for TCPDF that is a very good library.

I have a small bug (I have attached the example that generate the PDF to the ticket).

When the file is opened with Acrobat some page can't be displayed. The problem can be reproduced with ghostscript that show the message:

**** Error reading a content stream. The page may be incomplete.
**** File did not complete the page properly and may be damaged.

If i disabled the header and footer, the file isn't corrupted any more. And if i replace the code <div style=\"page-break-after: always\"><span style=\"display:none\">&nbsp;</span></div> by <tcpdf method=\"AddPage\" />, the file isn't corrupted any more too.

Thanks for the help,

2 Attachments

Discussion

  • Nicola Asuni

    Nicola Asuni - 2014-04-07

    OK. Fixed in TCPDF 6.0.064.
    Thank you for reporting this issue.

     
  • Nicola Asuni

    Nicola Asuni - 2014-04-07
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB