Important: Align defaults of PdfDemand DTO
Description
The constructor of \Extcode\ and
\Extcode\ used
different default values. Both use the same defaults now, provided as
public constants:
| Constant | Value | Before |
|---|---|---|
DEFAULT_ | 0 | unchanged |
DEFAULT_ | 8 | constructor 8, factory 11 |
DEFAULT_ | false | constructor true, factory false |
DEFAULT_ | false | constructor true, factory false |
The rendered documents do not change. The extension creates the DTO only
via create, whose defaults for the marks are kept. The
font size of the DTO is not used for rendering.
Affected Installations
Only installations which create a Pdf object in their own code are
affected:
new Pdfwithout arguments disables the fold marks and the address field marks now.Demand () Pdfwithout aDemand:: create From Settings () fontsetting returnsSize 8instead of11forget.Font Size ()
Installations which configure the documents via TypoScript only are not affected.
Migration
Pass the required values explicitly to the constructor or add the settings
enable, enable and font to the array
given to create.