PDF attachment seems to be malformed
-
I had a problem with outputting the PDF inline in Chrome (gray blank screen), so I changed this line in wp-mpdf.php:
Header('Content-disposition: inline; filename='.$pdfname);
to:
Header('Content-disposition: attachment; filename='.$pdfname);
so the browsers behave the same and try to download the PDF as a file/attach.
But, the resulting PDFs seem to be malformed (bad xref table?). Adobe Reader asks me to (re)save the file when I close. Tested with Adobe Reader X 10.1.9 and Acrobat X Pro 10.1.8
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘PDF attachment seems to be malformed’ is closed to new replies.