-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stroke-to-fill conversion #564
Comments
This is particularly useful for generating fonts or icon fonts through SVG, the Rust community needs a library like picosvg. As far as I know, only pathfinder supports the OutlineStrokeToFill function, but it is not perfect. Hope that the priority of this feature can be increased. |
It's not as much a priority than an available spare time issue. If you would like to contribute an implementation I'd be happy to take it. For what it's worth, I suspect that pathfinder's glitches are due to how the filled shape is rendered rather than what outline it generates from the stroke, but I'm not 100% sure. |
Thank you for your reply. |
FWIW this would make the colored overlays on https://z0r.de/2245 uniform, as they should be. |
FWIW, https://crates.io/crates/tiny-skia-path has a good implementation of this. |
For correct strokes, it would be useful to have a way to convert a stroke into a filled outline.
The text was updated successfully, but these errors were encountered: