This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit e745c93
committed
[[ Bug 21860 ]] Fix encoding of svg paths containing relative commands
This patch fixes a problem in svg paths making heavy use of relative
commands caused by close subpath not resetting the last point to
the first point of the subpath.
The first point is now recorded when a move command is encountered,
and this is used when a close command is encountered to update the
last point.1 parent 2009e05 commit e745c93
File tree
2 files changed
+9
-0
lines changed- docs/notes
- extensions/script-libraries/drawing
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1570 | 1570 | | |
1571 | 1571 | | |
1572 | 1572 | | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
1573 | 1577 | | |
1574 | 1578 | | |
1575 | 1579 | | |
| |||
1591 | 1595 | | |
1592 | 1596 | | |
1593 | 1597 | | |
| 1598 | + | |
| 1599 | + | |
1594 | 1600 | | |
1595 | 1601 | | |
1596 | 1602 | | |
1597 | 1603 | | |
1598 | 1604 | | |
| 1605 | + | |
| 1606 | + | |
1599 | 1607 | | |
1600 | 1608 | | |
1601 | 1609 | | |
| |||
0 commit comments