Closed dannydinges closed 3 years ago
Did you intend to close this issue? This issue was previously reported in #3.
I found a workaround. I was able to increase the size of the svg which created a value greater than 0. Then I scaled in the dompdf document.
I'll go ahead and create a new issue for us to look into the underlying problem since this seems like a deficiency in how the library handles this particular use case.
Using dompdf and getting a Division by zero on this svg chart. The piece of the pie chart is very small which is what I believe is causing the issue. Any way around this?
ErrorException Division by zero vendor/phenx/php-svg-lib/src/Svg/Tag/Path.php:447