

The dompdf team recommends that you use Composer for easier dependency management. allow_url_fopen set to true or the curl PHP extension (for retrieving stylesheets, images, etc via http)įor full requirements and recommendations see the requirements page on the wiki.We would like to extend our gratitude to the community members who helped make this release possible.Īdditionally, the following are recommended for optimal use: Cpdf::polygon method signature changed, no longer accepts the number of points.Canvas::page_* methods are executed immediately rather than during output generation and should be called after rendering the document.Callback signature change: callbacks should now accept three individual arguments (Frame, Canvas, FontMetrics).Improper Restriction of XML External Entity Reference

This release addresses the following announced vulnerabilities: Vulnerability View all changes since the previous release in the commit history. The full list of addressed issues can be found in the release milestone. Adds support for the inset CSS shorthand property and the legacy break-word keyword for word-break.Switches installed fonts and font metrics cache file format to JSON.Improves border, outline, and background rendering for inline elements.Improves CSS property parsing and representation.

