dompdf / php-svg-lib

SVG file parsing / rendering library
GNU Lesser General Public License v3.0
1.39k stars 77 forks source link

"t" commands in path don't work #81

Closed GoatRiderMN closed 1 year ago

GoatRiderMN commented 2 years ago

"t" commands in a path don't work right.

This is because on line 336 of src/Tag/Path.php there should be a "!". It should be:

                if (!preg_match("/[QqTt]/", $previous[0])) {