This project is mirrored from https://github.com/googlefonts/picosvg.
Pull mirroring updated .
-
v0.6.00ff3c2e5 · ·
v0.6.0 - CLI reads from stdin if no input file is passed. - In arc_to_cubic, use the arc's end point as the last bezier segment's end point; they must be exactly the same. - Added round_floats method; do not automatically round in svg_meta.path_segment (#65, #68). - Snap points very near subpath start to the subpath start, to make sure closed paths are really closed. Do a late absolute() in topicosvg to ensure end-point snapping occurs. This means picosvg will now produce absolute coordinates all the time (#73). - Drop 'enable-background' attribute, it's deprecated (#80). - Apply clip paths *after* ungrouping to fix clipped+stroked paths (#77, 82).
-
v0.5.0e499c84b · ·
v0.5.0 - Added support for inlined CSS in 'style' attributes. - Added C() and Q() methods to SVGPath class.
-
v0.4.0a556ac8f · ·
v0.4.0 - Fixed issue when un-grouping groups with fill-rule or clip-rule attributes, which should be inherited by children (#52). - Added support for fill-rule="evenodd" and clip-rule="evenodd" attributes, by using skia-pathops to fix contour winding order and convert paths to nonzero fill (#53, #54).
-
-
-
-
-
-
-
-
-
-
-
-
-
v0.3.319d8b62a · ·
v0.3.3 - Added arc_to_cubic.py module to convert elliptical arcs to cubic bezier curves. Convert arcs to cubics before drawing SVG path onto a skia SkPath and remove use of convertConicsToQuads in most places where we interact with pathops, except when stroking (round linecaps can introduce conics) (#7). - tonanosvg() now always applies transforms before ungrouping (#5). - Fixed bug in resolve_use where an unqualified 'g' element was being added, which made ungroup method miss it when xpath-ing with svg namespace (#5).
-