Download the PHP package inspiredminds/contao-isotope-pdf-templates without Composer
On this page you can find all versions of the php package inspiredminds/contao-isotope-pdf-templates. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download inspiredminds/contao-isotope-pdf-templates
More information about inspiredminds/contao-isotope-pdf-templates
Files in inspiredminds/contao-isotope-pdf-templates
Package contao-isotope-pdf-templates
Short Description Adds a new document type in Contao Isotope where you can define PDF templates.
License LGPL-3.0-or-later
Homepage https://github.com/inspiredminds/contao-isotope-pdf-templates
Informations about the package contao-isotope-pdf-templates
Contao Isotope PDF Templates
Adds a new document type in Contao Isotope where you can define PDF templates.
Important: version 2.x of this extension uses mPDF instead of TCPDF. Here are some things to note:
- mPDF only supports the following fonts: https://mpdf.github.io/fonts-languages/fonts-in-mpdf-7-x.html.
- mPDF has superior HTML and CSS capabilities.
- It is recommended to use a full HTML markup in your
iso_document_…
template. - By default only PDF documents up to PDF version 1.4 are supported by the FPDI PDF-Parser used by mPDF, thus you may need to convert them to this version beforehand. However, you can buy the commercial version in order to be able to convert any PDF.
Custom fonts
Since version 2.1.0
you are able to integrate custom fonts directly via the
back end. First you need to upload the TTF files into a directory within /files
.
Then you need to chose that folder in the font settings of the document. After
choosing the correct folder you need to save the settings, then you will be able
to configure the discovered font files.
For each font you want to use you need enable it and set the variant and name of the font in lowercase.
Note: mPDF maps certain common font names to its own default fonts. If a font is not working, try setting a more unique font name.
Event
The extension provides a ModifyPdfEvent
with which you can access the mPDF
Isotope Document
instance, in order
to change some parameters or add additional variables etc.
All versions of contao-isotope-pdf-templates with dependencies
contao/core-bundle Version ^4.13
isotope/isotope-core Version ^2.5
mpdf/mpdf Version ^8.0
menatwork/contao-multicolumnwizard-bundle Version ^3.4
symfony/dependency-injection Version ^5.4
symfony/http-kernel Version ^5.4
symfony/event-dispatcher Version ^5.4
symfony/event-dispatcher-contracts Version ^1.0 || ^2.0 || ^3.0
symfony/finder Version ^5.4
symfony/config Version ^5.4
symfony/filesystem Version ^5.4