Basically, if you failed to setup your "/lib/fonts/" directory correctly, it will produce errors at the top of your PDF file:
<br />
<b>Warning</b>: file_put_contents(/home/share/www/tmp/dompdf/lib/fonts/php_Times-Bold.afm) [<a href='function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied in <b>/home/share/www/tmp/dompdf/lib/class.pdf.php</b> on line <b>2354</b><br />
<br />
Your PDF will not open as it will be corrupt.
Instead of doing this, the script should use is_writable() to ensure the directory is wriable before attempting to use file_put_contents().
Then it could simply produce a friendly error either in plain/text or within the PDF to say that the directory failed, rather than corrupting the WHOLE pdf output...
Logged In: YES
user_id=512604
Originator: NO
I raised this btw, you should consider making bug reports only opened by resisted users.
This will ensure that you always get sufficient feedback, and real bugs.