You are here

INSTALL.txt in Printer, email and PDF versions 7.2

dompdf support:
  The dompdf tool produces results that are more faithful to the HTML
  printer-friendly page. Good support of CSS 2.1 and partially CSS3.

  The recommended version of this tool is 0.8.2 or newer since it is fully
  compatible with PHP 7.1, and security support has ended for all prior
  versions of PHP as of December 31, 2018.

  1. Download dompdf from https://github.com/dompdf/dompdf/releases. Make
  sure to download the full release zipfile. If you download only a source
  code file, you will also need to download and install the php-font-lib.
  2. Extract the contents of the downloaded package into one of the
  supported paths.
  3. If upgrading from version 0.6 or older, visit the settings page on your
  site at http://example.com/admin/config/user-interface/print/pdf and select
  the new path for the "PDF generation tool" setting.
  4. If using dompdf 0.6 or 0.5, check if dompdf_config.inc.php fits your
  installation. In 99% of cases, no changes are necessary, so just try to use
  it and only edit anything if the PDF generation fails.
  5. If  using dompdf 0.6 or 0.5, delete the dompdf.php file as it contains a
  security vulnerability. Delete also the index.php and www folder, as they are
  not needed.
  6. Grant write access to the lib/fonts directory for your webserver user.
  7. If you're using dompdf 0.6, you can try to enable the Unicode support, but
  you'll need to add some Unicode fonts. See
  http://groups.google.com/group/dompdf/browse_thread/thread/9f7bc0162b04d5cf
  for further info on this.
  8. Review the recommendations for securing your dompdf installation at
  https://github.com/dompdf/dompdf/wiki/Securing-dompdf
  9. Check https://dompdf.github.io/ for further information.

File

print_pdf/lib_handlers/print_pdf_dompdf/INSTALL.txt
View source
  1. dompdf support:
  2. The dompdf tool produces results that are more faithful to the HTML
  3. printer-friendly page. Good support of CSS 2.1 and partially CSS3.
  4. The recommended version of this tool is 0.8.2 or newer since it is fully
  5. compatible with PHP 7.1, and security support has ended for all prior
  6. versions of PHP as of December 31, 2018.
  7. 1. Download dompdf from https://github.com/dompdf/dompdf/releases. Make
  8. sure to download the full release zipfile. If you download only a source
  9. code file, you will also need to download and install the php-font-lib.
  10. 2. Extract the contents of the downloaded package into one of the
  11. supported paths.
  12. 3. If upgrading from version 0.6 or older, visit the settings page on your
  13. site at http://example.com/admin/config/user-interface/print/pdf and select
  14. the new path for the "PDF generation tool" setting.
  15. 4. If using dompdf 0.6 or 0.5, check if dompdf_config.inc.php fits your
  16. installation. In 99% of cases, no changes are necessary, so just try to use
  17. it and only edit anything if the PDF generation fails.
  18. 5. If using dompdf 0.6 or 0.5, delete the dompdf.php file as it contains a
  19. security vulnerability. Delete also the index.php and www folder, as they are
  20. not needed.
  21. 6. Grant write access to the lib/fonts directory for your webserver user.
  22. 7. If you're using dompdf 0.6, you can try to enable the Unicode support, but
  23. you'll need to add some Unicode fonts. See
  24. http://groups.google.com/group/dompdf/browse_thread/thread/9f7bc0162b04d5cf
  25. for further info on this.
  26. 8. Review the recommendations for securing your dompdf installation at
  27. https://github.com/dompdf/dompdf/wiki/Securing-dompdf
  28. 9. Check https://dompdf.github.io/ for further information.