-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[WIP] Basic text shaping and rendering using HarfBuzz #2181
Conversation
Doesn't render properly yet, though.
CI and everything should now work.
How would I make the raw glyphs go through the glyph cache? Right now it's being re-rasterized each time, so it's really, really slow. |
Thanks so much for working on this! This is the last feature I'm waiting for before I switch to alacritty as my daily driver! I wanted to test out your PR and see if there was any way I could help; I ran into some build issues but was able to fix them. I'm on OSx, and the Once I did add the Here's my
I plan to continue poking around your PR to see if I can help. If you have any pointers on what I might be able to do to maximize usefulness please let me know!! |
@z2oh Thanks! Actually, I've been planning to create a common, font-rasterizer-independent shaper that works directly on the font file, but I've not had the time to do it 😅 |
Additionally, this is also the thing stopping me from switching too! |
I can help testing (and potentially fixing) on Windows once this gets to a more mature state. |
Looks like there was some additional work done for this in #2677. Since this PR hasn't been updated in a while, I'll close this one in favor of #2677. If you have any contributions you wish to make on top of #2677 you can send a PR to the author, if he is unresponsive we can just re-open a new PR. This way we don't run into trouble with multiple people working on the same thing. |
Doesn't render properly yet, though.
I'd like it if someone could figure out why it's not rendering the proper glyphs!
edit for using:
Compile Alacritty with the feature
hb-ft
. This will enable FreeType on all platforms, and use HarfBuzz.Closes #50 (I think)