mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-04-12 02:01:52 +02:00
FIX SVGPath should accept 1.19.30 (equiv 1.19,.30) compacted values list (#297)
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
This commit is contained in:
parent
f37a6610d6
commit
f9046e0e2e
@ -23460,6 +23460,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
|
||||
}
|
||||
$paths = array();
|
||||
$d = preg_replace('/([0-9ACHLMQSTVZ])([\-\+])/si', '\\1 \\2', $d);
|
||||
$d = preg_replace('/(\.[0-9]+)(\.)/s', '\\1 \\2', $d);
|
||||
preg_match_all('/([ACHLMQSTVZ])[\s]*([^ACHLMQSTVZ\"]*)/si', $d, $paths, PREG_SET_ORDER);
|
||||
$x = 0;
|
||||
$y = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user