tecnickcom / TCPDF

Official clone of PHP library to generate PDF documents and barcodes
https://tcpdf.org
Other
4.18k stars 1.51k forks source link

ImageSVG() does not calculate the correct w/h values anymore - fix it #661

Open d-javu opened 11 months ago

d-javu commented 11 months ago

Fix for issue #660 Automatic calculation of w/h fails for ImageSVG() The bug appeared in 6.0.031 and was caused by the 'avoid "division by zero"' part of commit: 0c26f23 The fix, for me, is to remove the div_by_zero mitigation.

CLAassistant commented 11 months ago

CLA assistant check
All committers have signed the CLA.

nicolaasuni commented 5 months ago

Please try to resolve the conflicts.

d-javu commented 5 months ago

Rebased onto your recently force-pushed main branch.