Skip to content
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

Convert cubics to quadratics #8

Open
behdad opened this issue Nov 25, 2020 · 3 comments
Open

Convert cubics to quadratics #8

behdad opened this issue Nov 25, 2020 · 3 comments

Comments

@behdad
Copy link

behdad commented Nov 25, 2020

This is great work. Congratulations!

For cubic-to-quadratic conversion I suggest you lift the cu2qu algorithm. I have described it here:

googlefonts/cu2qu#10

Cheers

@nyyManni
Copy link
Owner

nyyManni commented Dec 1, 2020

Thanks for the link and the feedback!

I took a quick read and it looks like something that could be quite easily implemented in msdfgl. I'll take a closer look when I reach my next free'ish timeslot.

@behdad
Copy link
Author

behdad commented Dec 8, 2020

For your use-case you don't need the last step:

  - After choosing corners, position the on-curve points to lie in the middle
of the neighboring corners.  Ie, don't encode them in the glyf encoding.

Cheers.

@BornTactical
Copy link

Thanks for the link and the feedback!

I took a quick read and it looks like something that could be quite easily implemented in msdfgl. I'll take a closer look when I reach my next free'ish timeslot.

... 2 years, 9 months, 26 days later

Is it an appropriate time to ask about this again? 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants