New forums are located at:
http://groups.google.com/group/dompdf?hl=en
All old sourceforge forum posts will be available starting 05/25/2009.
Now officially located at:
http://code.google.com/p/dompdf/
Discussion/help forum is at:
http://groups.google.com/group/dompdf
A security vulnerability in dompdf has recently been discovered. The vulnerability would allow an attacker to access any file readable by the webserver. A solution is being developed presently.
Until a new version is available, it is recommended that all users remove the dompdf.php file from their installation and to use the dompdf class directly (see http://www.digitaljunkies.ca/dompdf/usage.php#class\). If it is not possible to remove dompdf.php, the PHP ini option open_basedir should be set to a secure base directory (see http://www.php.net/manual/en/features.safe-mode.php#ini.open-basedir\).
dompdf-0.5.1 has been released! Version 0.5.1 includes several important bugfixes:
* image url and path handling has been tidied up and should now work properly
* border styles are accepted in any order
* vertical-align works properly within table cells
* <br> works within inline tags (e.g. <font>, <span>)
* CSS height property now respected by block elements properly
* the "Attachment" option to dompdf->stream() has been fixed... read more
Whoa, 20,000 hits yesterday & dompdf makes it to digg.com's front page! Thanks to all for the kind comments on digg.com: http://digg.com/programming/Convert_HTML_to_PDF_with_PHP
dompdf-0.5 has been released! Version 0.5 includes several major improvements and bug fixes. Highlights include:
* Unicode support when using PDFLib, courtesy Jeremy Buchman (licensed version only--PDFLib Lite will NOT work)
* Hyperlink and named anchor support, courtesy Jeremy Buchman
* Support for background-image
* Support for vertical-align
* Fixes for images within tables, page breaks across tbody elements, and 'Frame not found in cellmap' errors.... read more
dompdf-0.4.4 has been released! Major improvments have been made to the page break code, particularly for tables. A new GD-based rendering backend has been added, so now dompdf can render PNGs, JPEGs and GIFs. (Note that this backend is still somewhat experimental.)
The page count bug introduced in 0.4.3 has been fixed, and PDF compression is now enabled by default, so generated PDFs should be smaller.... read more
There was a small bug in the original release of dompdf-0.4.3. I've fixed the typo and repackaged the release.
If you've downloaded version 0.4.3 before November 21st, please download and install the latest package, or make the following change to include/table_frame_decorator.cls.php on line 139:
if ( isset($new_header) ) {
Thanks to Oliver Hunger for the bug report.
Version 0.4.3 adds GIF support to the CPDF backend (thanks to Ed Gloeckle). Memory usage for multi-page PDFs has also been reduced siginificantly. Other minor changes include improved API docs and some minor compatibility fixes between PHP 5.0.5 and the upcoming PHP 5.1.0 .
Version 0.4.2 fixes a bug in the image handling code that prevented remote images from working properly. This has now been fixed. Other improvements include fixing the '-v' command line switch so that warnings are actually output and fixes to the table rendering code to make it more tolerant of poorly formed tables. Support for list-style-image has also been added, so you can now use custom images for un-ordered lists.... read more
This release is primarily a bugfix release. It fixes a major issue with windows installations, where dompdf was unable to locate its default html.css file. If you encounter the following error: Uncaught exception 'DOMPDF_Exception' with message 'No block-level parent found. Not good.' then you should upgrade to this version to fix the error.
This release also includes a fix for a bug in the image rendering code.
Version 0.4 includes several major improvements:
* Tables now span pages properly (although table headers are not carried over to the next page, yet).
* Improved image support.
* Several bugfixes to text and table layout.
* Support for PDFLib (http://www.pdflib.com) has been added. Using PDFLib is faster and reduces memory usage somewhat compared to the bundled R&OS PDF class. There is a free version of PDFLib available for non-comercial use called PDFLib Lite. To use PDFLib (or PDFLib Lite) you will need to install the PDFLib PECL extension.... read more
Finally some spare time to devote to the project! The page layout code has been re-written and now all CSS 2.1 page-break properties are correctly supported, including support for orphans. Tables will still be formatted incorrectly if they span pages, but fixing this should be easier with the new paging code. Tables should be working in the next release (hopefully soon).
I would like to thank everyone who has emailed me over the past few months. It's good to know people find this project useful! If you come across any bugs or need help, please feel free to post a message in the SourceForge forums (http://sourceforge.net/forum/?group_id=129679) or send an email to dompdf at digitaljunkies dot ca.
dompdf recently migrated to SourceForge. This release and all subsequent releases will be made via SourceForge.
This release is a bugfix release and address a few minor text layout issues.