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