Bundled third-party code: dompdf and its dependencies
=====================================================

This directory contains MODIFIED copies of the following libraries, used by
BetterDocs Pro's Export PDF feature:

  dompdf/dompdf 3.1.6              LGPL-2.1           dompdf/dompdf/LICENSE.LGPL
  dompdf/php-font-lib              LGPL-2.1-or-later  dompdf/php-font-lib/LICENSE
  dompdf/php-svg-lib               LGPL-3.0-or-later  dompdf/php-svg-lib/LICENSE
  masterminds/html5                MIT                masterminds/html5/LICENSE.txt
  sabberworm/php-css-parser        MIT                sabberworm/php-css-parser/LICENSE

Modifications made by WPDeveloper:

  - Every namespace is prefixed with WPDeveloper\BetterDocsPro\Dependencies\
    (done with Strauss, https://github.com/BrianHenryIE/strauss), so this copy
    cannot clash with another plugin's dompdf.
  - php-font-lib src/FontLib/TrueType/File.php: getFontType() and
    parseTableEntries() patched to work with the prefixed namespace.
  - The DejaVu Serif fonts and their entry in
    dompdf/dompdf/lib/fonts/installed-fonts.dist.json were removed.
  - The hand-written autoload.php in this directory replaces Composer's.
  - masterminds/html5's bin/ directory (a dev-only script that regenerates
    the entity table) was removed.

The unmodified sources are available from https://github.com/dompdf/dompdf,
https://github.com/dompdf/php-font-lib, https://github.com/dompdf/php-svg-lib,
https://github.com/Masterminds/html5-php and
https://github.com/MyIntervals/PHP-CSS-Parser. You may replace this copy with
your own modified version of these libraries under the terms of their licences.
