New Features
HTML/CSS/Images support
- Limited support for CSS float (disabled by default). See DOMPDF_ENABLE_CSS_FLOAT (svn: r407, r408, r415, r438, r457, r459, r471)
- Support for nth-child selectors (svn: r407, r419)
- Support for
@font-face
(svn: r407, r413) - Font sub-setting now available (disabled by default). See DOMPDF_ENABLE_FONTSUBSETTING (svn: r466, r468, r469)
- Added an HTML5 Parser to enable improved document parsing/correction (disabled by default). See DOMPDF_ENABLE_HTML5PARSER (svn: r429, r430, r431, r441)
- Added support for ID in anchors tags (svn: r373)
- Added a message for broken images and updated the broken_image.png file to something less aggressive (svn: r377)
- Added support for transparent PNG in background-image and improved background-image handling (svn: r380, r404, r450, r453)
- Improved absolute positioning (svn: r387, r409, r459, r460)
- Added support for the "rem" CSS unit (svn: r389)
- Improved support for the "ex" CSS unit (svn: r390)
- When parsing tables, TR elements not contained by TBODY, TFOOT, or THEAD are automatically encapsulated by TBODY (svn: r390)
- Added support for the CSS declaration word-wrap: break-word (svn: r391)
- Added support for
@page :left
,:right
,:first
,:odd
, and:even
(svn: r393) - Added support for CSS visibility and empty-cells properties (svn: r393)
- Type selectors (e.g. h1) are now case insensitive (svn: r417)
- Image type detection is now based on file header instead of filename extension (svn: r422)
- Added support for HTML5-style charset metatag (
<meta charset=”utf-8”>
) (svn: r430) - Added support for nested CSS counters (svn: r438)
- Replaced TTF2UFM with php-font-lib and remove all dependencies on TTF2UFM (svn: r447)
- Table columns widths are now consistent across pages (svn: r462)
- Added limited support for table captions (svn: r456)
- Reduced rendering time by using caches (svn: r469)
Installation / configuration / debugging
- Added frame (i.e. discreet document element) count to the sample website debugger output (svn: r399)
- DOMPDF_ENABLE_REMOTE is no longer needed for stylesheet references that use a URL with domain component (svn: r407)
- Added a ready-to-use web-based font installer to the sample website (www/fonts.php) (svn: r417, r418)
- Added the Unicode-compatible DejaVu Fonts as part of the base installation (svn: r388)
Major bug fixes
- Fixes compatibility with the Symfony framework autoloader (disabled by default). See DOMPDF_AUTOLOAD_PREPEND (svn: r374)
- Fixes errors in how margins were collapsed between siblings (svn: r375)
- Improves the way lines are aligned vertically (see the css_baseline example) (svn: r375)
- Corrects the bounding box used for drawing backgrounds (svn: r377)
- Fixes the z-index rendering process (svn: r377, r378, r379, r393)
- Adds support for color styling inheritance (svn: r390)
- Fixes bugs with nested tables and HTML attributes (svn: r393)
- Fixes handling of URLs with non-ascii chars in the CPDF adapter (svn: r394)
- Fixes a rgb()-style color parsing bug (svn: r402)
- Fixes RLE4 compressed bitmap image support (svn: r405)
- Fixes bug that caused generated content to occasionally display multiple times (svn: r406)
- Improves background image clipping (svn: r417)
- Fixes table layout bug caused by zero-height rows (svn: r464)
- Fixes layout bug caused by 100% width tables centered with margin auto (svn: r465)