dompdf php library: 3 issues in the generated pdf

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
aneuryzma
Forum Contributor
Posts: 106
Joined: Sat May 17, 2008 7:03 am

dompdf php library: 3 issues in the generated pdf

Post by aneuryzma »

hi,

I'm using dompdf in Drupal to generate pdfs of html invoices.


1) However the images are not rendered into the pdf. Is it a path issue ?
I've tried to add the following elements with different paths to see if one of them is correctly rendered in the pdf, but all what I get is red crosses:
<img alt="logo" src="/~o110334/sites/all/themes/zen/zen/logo.png" />
<img alt="logo" src="logo.png" />
<img alt="logo" src="/sites/all/themes/zen/zen/logo.png" />
<img alt="logo" src="sites/all/themes/zen/zen/logo.png" />


2) I'm having some issues in displaying a table: http://dl.dropbox.com/u/72686/domPdfTable.png
The table contains all borders I don't have in my original table in html: http://dl.dropbox.com/u/72686/htmltable.png
how can I remove these borders from the final pdf document ?

3) I'm having some issues with an additional symbol. In the rendered pdf I have an additional symbol before the currency £:
http://dl.dropbox.com/u/72686/domPdfTable.png
how can I remove this symbol from the final pdf document ?

thanks
Post Reply