INSTALL.txt 1.2 KB

123456789101112131415161718192021
  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. 1. Download dompdf from https://github.com/dompdf/dompdf/releases. Make
  5. sure to download the full release zipfile. If you download only a source
  6. code file, you will also need to download and install the php-font-lib.
  7. 2. Extract the contents of the downloaded package into one of the
  8. supported paths.
  9. 3. If using dompdf 0.6 or 0.5, check if dompdf_config.inc.php fits your
  10. installation. In 99% of cases, no changes are necessary, so just try to use
  11. it and only edit anything if the PDF generation fails.
  12. 4. If using dompdf 0.6 or 0.5, delete the dompdf.php file as it contains a
  13. security vulnerability. Delete also the index.php and www folder, as they are
  14. not needed.
  15. 5. Grant write access to the lib/fonts directory to your webserver user.
  16. 6. If you're using dompdf 0.6, you can try to enable the Unicode support, but
  17. you'll need to add some Unicode fonts. See
  18. http://groups.google.com/group/dompdf/browse_thread/thread/9f7bc0162b04d5cf
  19. for further info on this.
  20. 7. Check https://dompdf.github.io/ for further information.