Closed
Description
The Dompdf::save() function resets paperSize to use the entries from Pdf::$paperSizes. But many of those are arrays, not strings, which conflicts with the use of strtolower() in the call to $pdf->setPaper(). Looking at the dompdf code, that function does accept arrays, but there are other errors further on when passing one of the entries from $paperSizes (PAPERSIZE_E).
Should Dompdf have a restricted set of sizes that only include entries with string values?
Metadata
Assignees
Labels
No labels