Skip to content
This repository was archived by the owner on Oct 30, 2021. It is now read-only.

Remove fill-rule="evenodd" #235

@yisibl

Description

@yisibl

This can remove fill-rule="evenodd" clip-rule="evenodd" and make the svg file smaller. After removal, fill-rule will become the default value of nonzero, which can be omitted.

Certain export formats (e.g. TrueType fonts, Android VectorDrawable) only support the nonzero fill rule.

This Python library(googlefonts/picosvg#54) can do this, based on skia-pathops

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions