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

Use cosmic-text's text alignment #16

Merged
merged 2 commits into from
Jun 23, 2024

Conversation

tigregalis
Copy link
Collaborator

Implement text alignment properly using cosmic-text's text alignment, instead of nudging glyphs using line width.

Removes a couple TODOs and prepares us to be able to use cosmic-text's Cursor abstraction.

For future work, if pop-os/cosmic-text#166 is addressed we could have a small perf win as well.

@TotalKrill TotalKrill merged commit 3b743c3 into TotalKrill:cosmic-text Jun 23, 2024
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.

2 participants