File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -566,7 +566,6 @@ protected void parsePath() {
566566 int i = 0 ;
567567
568568 char implicitCommand = '\0' ;
569- // char prevCommand = '\0';
570569 boolean prevCurve = false ;
571570 float ctrlX , ctrlY ;
572571 // store values for closepath so that relative coords work properly
@@ -575,7 +574,7 @@ protected void parsePath() {
575574
576575 while (i < pathTokens .length ) {
577576 char c = pathTokens [i ].charAt (0 );
578- if (((c >= '0' && c <= '9' ) || (c == '-' )) && implicitCommand != '\0' ) {
577+ if (((c >= '0' && c <= '9' ) || (c == '-' ) || ( c == '.' ) ) && implicitCommand != '\0' ) {
579578 c = implicitCommand ;
580579 i --;
581580 } else {
Original file line number Diff line number Diff line change 111284 (4.0b9)
2+ X allow . to start a number in SVG paths
23
34
45_ concurrent StringDict et al
You can’t perform that action at this time.
0 commit comments