This repository has been archived by the owner on Jun 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add font hinting Update render snapshots
I've opened linebender/xilem#337 to lay out a roadmap for text-handling, as per above. |
Also, note to self: I need to add |
Remove TextBox Remove `text` module Remove references to Piet
Update snapshot tests. Update doc tests.
I've pushed the first version of the Winit port. Very experimental. |
Create EventLoopRunner type Port examples Fix FontContext being recreated every frame (which was horrifying for performance).
9 tasks
github-merge-queue bot
pushed a commit
to linebender/xilem
that referenced
this pull request
May 3, 2024
This brings in a lot of the old work from Druid and Masonry (prior to linebender/masonry#56) on text, as well as some types from Glazier. Needed work: - [X] Text display using abstract types - [x] Text selection with mouse - [x] Text input with keyboard - [ ] IME integration (of the kind winit understands) Follow up work: - [ ] Keyboard control of the selection area (hard-coded hotkeys) - [ ] [Proper placement](https://raphlinus.github.io/text/2020/10/26/text-layout.html#shaping-cluster) of cursor - [ ] Input methods - [ ] Proper hotkey handling - [ ] Copy and/or paste
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR tries to make Masonry work with Winit instead of druid_shell and Vello insteaf of Piet, while changing as little code as possible. It's very much a work in progress.
The general plan is to remove features that are too coupled with Vello/Winit to change seamlessly, document them here and when the PR is merged, create issues to explain what the plan is to re-introduce them.
Roadmap for this PR:
Port TextBox widgetEventLoop