You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -8,8 +8,10 @@ Tool to simplify SVGs. Converts an input svg into a "pico" svg:
* Exactly 1 `<defs>` element, first child of root
* Only gradients defined under `<defs>`
* Only `<path>` elements without stroke or clipping after the initial `<defs>`
* After the initial `<defs>`, only `<g>` and `<path>`
*`<g>` is eliminated when possible, but may be retained for opacity
* Only absolute coordinates
* Only commands that specify full coordinates, no shorthand (H, S, etc)
Clip paths and strokes are rendered into equivalent paths using [Skia](https://skia.org/) via [skia-pathops](https:/fonttools/skia-pathops), `<use>` references are materialized, etc.