mittwald / typo3-web2pdf

A TYPO3 extension for rendering content as PDF
GNU General Public License v2.0
18 stars 20 forks source link

DivisionByZeroError #134

Open killerwhale9 opened 1 year ago

killerwhale9 commented 1 year ago

Typo3 11.5 PHP 8.1

**DivisionByZeroError**
Division by zero
in /var/www/html/vendor/mpdf/mpdf/src/Image/Svg.php line 2103

any information that could help?

derhansen commented 1 year ago

This seems to be a bug in mpdf. Maybe this (closed / not merged) https://github.com/mpdf/mpdf/pull/1564 PR fixes the issue. Can you check?

killerwhale9 commented 1 year ago

Thank you, yes this fork fix the problem.

derhansen commented 1 year ago

I'll re-open this issue as a reminder for me, so we can try to get the issue fixed in MPDF