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

Switch to cosmic-text #23

Merged
merged 23 commits into from
Jan 30, 2023
Merged

Switch to cosmic-text #23

merged 23 commits into from
Jan 30, 2023

Conversation

grovesNL
Copy link
Owner

@grovesNL grovesNL commented Nov 3, 2022

Switch from fontdue to cosmic-text. cosmic-text provides more functionality than fontdue (check the cosmic-text readme to compare against fontdue if you're curious) and the performance should be relatively comparable for typical use cases. cosmic-text appears to be slightly slower when I tested with a text-heavy application, but this is mostly due to the shaping in rustybuzz (which has room for future performance optimization) and can usually be cached.

Because of the functionality I've decided to switch over to cosmic-text, but please feel free to fork an earlier version of glyphon if you'd like to continue using it with fontdue. For now it doesn't feel worthwhile trying to maintain both implementations in the same repository, though I'd be open to some kind of solution to this if there's a lot of interest.

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

Successfully merging this pull request may close these issues.

1 participant