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

Allow hooking text rendering #17

Open
LPGhatguy opened this issue Jul 23, 2022 · 2 comments
Open

Allow hooking text rendering #17

LPGhatguy opened this issue Jul 23, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@LPGhatguy
Copy link
Member

It would be great to let users replace yakui's text rendering. I think a clever way that we could do this is by moving yakui's text code into a new crate, like yakui-text, and then let people use Cargo to patch-replace it.

@msparkles
Copy link
Contributor

msparkles commented Jul 3, 2024

As per #179, we've figured that textboxes and text widgets are extremely dependent on the text backend! Ideally you'd just replace the widgets entirely yourself

We sure should move it to a separate crate, though, that should be the way to go in the future

@msparkles
Copy link
Contributor

msparkles commented Jul 3, 2024

Perhaps not to patch it but just have a separate crate that has text widgets? During the cosmic_text PR we barely had to touch the wgpu side of things, yakui's rendering frontend is apparently enough for all that texts need?

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

No branches or pull requests

2 participants