github dompdf/dompdf v1.0.1
Dompdf 1.0.1

latest releases: v2.0.7, v2.0.6, v2.0.5...
3 years ago

This release has been superseded by version 1.0.2

Change highlights since 0.8.6

  • Adds support for PHP 8
  • Adds support for soft hyphens
  • Adds multi-path support to the chroot option
  • Fixes table cells positioning following a rowspanned cell
  • Fixes excessive minimum widths for columns spanned by a colspanned cell
  • Addresses a performance issue related to parsing CSS image URLs

Bugs addressed since 1.0.0

  • Merging some Style properties broke when using the computed value
  • Border shorthand parsing did not cause recalculation of related properties
  • Variable reference error in the Stylesheet class

Note on resource references: Because of the changes in resource security, some resources (images, external stylesheets) that would previously load with the default settings may no longer load. To ensure compatibility with this release ensure that remote resources can be loaded and that any local filesystem resources are within the directories specified by the chroot setting. By default, chroot is set to the Dompdf directory. Information on how to change these settings can be found in the readme section on setting options.

The list of addressed issues can be found in the release milestone. View all changes since the previous release in the commit history.

We would like to extend our gratitude to the community members who helped make this release possible.

Requirements

Dompdf 1.0.1 requires the following:

  • PHP 7.1 or greater
  • MBString
  • php-font-lib v0.5.x
  • php-svg-lib v0.3.x

Note that some dependencies may have further dependencies (notably php-svg-lib requires sabberworm/php-css-parser).

Additionally, the following are recommended for optimal use:

  • GD (for image processing)
  • allow_url_fopen set to true or the curl PHP extension (for retrieving stylesheets, images, etc via http)

For full requirements and recommendations see the requirements page on the wiki.

Download Instructions

The dompdf team recommends that you use Composer for easier dependency management.

If you're not yet using Composer a packaged release will be made available shortly. The download options labeled "Source code" are auto-generated by github and do not include all the dependencies.

Don't miss a new dompdf release

NewReleases is sending notifications on new releases.