-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Improve cubic bezier curves approximation with quadratic beziers #25
Comments
I have a lot of SVGs (FontAwesome) generated by IcoMoon. I want to pack icon font for my internal company project with some of FontAwesome icons and some own ones. I use |
You can generate svg only, and convert to ttf via fontforge (it can be scripted too) |
Awesome. |
@puzrin do you have any plans to work on this? |
Not in nearest future. |
Fixed smoothness at the ends of interpolated cubic bezier. Close #25
Finally fixed in 2.1. Enjoy! |
😌 |
Current cubic2quad convert algorythm is very basic. That does not affect original fonts, but can cause issues, when originals are drawn in SVG. We use stupid midpoint approach with 2 quad curves. It sucks, because we need to keep tangents on edge points.
Example to reproduce problem (from octicons font):
The text was updated successfully, but these errors were encountered: