alafr / SVG-to-PDFKit

Insert SVG into a PDF document created with PDFKit
MIT License
397 stars 111 forks source link

Improve negative stroke-dashoffset recovery #161

Closed bendemboski closed 2 years ago

bendemboski commented 2 years ago

This logic wouldn't handle the case where the dashoffset was less than the negative of the dash array length properly, and would still produce a negative value, so I fixed it.

bendemboski commented 2 years ago

Moved this functionality into #162 via d0280efe6599f431c21ad0f1dcfe6a5fb64b4860