plugin:dw2pdf
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:dw2pdf [2021-01-16 18:19] – Klap-in | plugin:dw2pdf [2023-11-25 23:50] (current) – version upped andi | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : andi@splitbrain.org, | email : andi@splitbrain.org, | ||
type : action, renderer | type : action, renderer | ||
- | lastupdate : 2020-11-12 | + | lastupdate : 2023-11-25 |
- | compatible : !Detritus, Elenor Of Tsort, Frusterick Manners,Greebo, Hogfather # Detritus misses composer dependency random_compat | + | compatible : !Greebo, Hogfather, Igor, Jack Jackrum |
depends | depends | ||
conflicts | conflicts | ||
Line 24: | Line 24: | ||
Search and install the plugin using the [[plugin: | Search and install the plugin using the [[plugin: | ||
- | Only **PHP 5.6 and newer** are supported by dw2pdf plugin. | + | Only **PHP 7.4 up to PHP 8.1** are supported by dw2pdf plugin. At rather short term support for PHP 7.4 will be dropped. |
To export (png) images with an alpha channel (used for transparency), | To export (png) images with an alpha channel (used for transparency), | ||
- | sudo apt-get install | + | sudo apt-get install |
Also see the [[: | Also see the [[: | ||
Line 42: | Line 42: | ||
===== Features ===== | ===== Features ===== | ||
- | * Uses the [[http://www.mpdf1.com/|mPDF]] PHP library. | + | * Uses the [[https://mpdf.github.io|mPDF]] PHP library. |
* Handles different languages (it bundles the large, but relatively complete Unicode font). | * Handles different languages (it bundles the large, but relatively complete Unicode font). | ||
* Easy customizing through headers, footers and CSS | * Easy customizing through headers, footers and CSS | ||
Line 113: | Line 113: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
===== Other info ===== | ===== Other info ===== | ||
Line 127: | Line 128: | ||
To set fixed password for generated documents, edit: | To set fixed password for generated documents, edit: | ||
- | '' | + | '' |
and add following lines: | and add following lines: | ||
Line 139: | Line 140: | ||
+ | ==== Hyphenation ==== | ||
+ | With the following setting in '' | ||
+ | < | ||
+ | body { | ||
+ | | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | The hyphenation is of course language dependent. Normally, the wiki login language is used. If the [[translation|translation plugin]] is installed, the language selected here is used for hyphenation when creating the PDF. | ||
+ | ==== Rendering Limitations ==== | ||
+ | Because the rendering is done on the server side, plugins that rely on the client side to render might not do so correctly in the generated PDF. Example: [[plugin: |
plugin/dw2pdf.1610817574.txt.gz · Last modified: 2021-01-16 18:19 by Klap-in