googlefonts / googlefonts/picosvg
Reuse of arcs is poor
Open
- Dominant language
- Python
- Stars
- 220
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
Shapes like this fail to find reuse:

Appears to relate to arcs, specifically arcs whose start/end is almost the same for at least one dimension. For example,
```
M104.64,10.08 A40.64 6.08 0 1 1 23.36,10.08 A40.64 6.08 0 1 1 104.64,10.08 Z
M99.63,23.34 A36.19 4.81 0 1 1 27.25,23.34 A36.19 4.81 0 1 1 99.63,23.34 Z
```
Because the arcs start/end has identical y we fail to compute a y-scale adjustment.
Observed in sanity checking nanoemoji part files for ones that failed (donor is null).
Contributor guide
Assessment
This issue has not been assessed yet.