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 HarfBuzz for text shaping #2235

Open
ajtribick opened this issue Oct 8, 2024 · 0 comments
Open

Use HarfBuzz for text shaping #2235

ajtribick opened this issue Oct 8, 2024 · 0 comments
Labels

Comments

@ajtribick
Copy link
Collaborator

Currently we have a hand-written text shaping routine which assumes 1 codepoint -> 1 glyph. This may not always be the case. We should investigate using HarfBuzz to do text shaping instead. (This library is already used in GTK and Qt so should not bloat the dependencies too much)

Also worth investigating whether its worth caching the results of the text shaping to minimise the amount we need to do this per frame.

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

No branches or pull requests

1 participant