-
Notifications
You must be signed in to change notification settings - Fork 142
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
Cosmic Text example #306
Comments
I’d love to get this in as an example. There is a minor complication around selecting a unique id for the fonts coming from cosmic-text. This can be resolved in a few different ways— I’ll see what I can do. The major blocker is having simple infrastructure for spinning up new examples. Right now, we just dump everything into the with_winit crate and I’m not sure if that is the right call here. |
Is it possible to do layout with skrifa or rendering with COSMIC Text? |
Nevermind that - Do I take individual glyphs from COSMIC Text and just shove them down |
Yes, the draw glyphs API is the intended entry point for this and my prior experiment had this working with cosmic-text though I’m sure the code is massively out of date at this point. |
It would be great to have an example of using cosmic-text with Vello. This would be super-helpful for Blitz to get high quality text layout / rendering running on top Vello Long term hopfully parley will also be an option, but it seems that at it isn't ready yet in that it is lacking both documentation and a crates.io release so for the time being cosmic-text is looking like the best option.
@dfrg I believe you had this working. Would you be willing to publish it as an example?
The text was updated successfully, but these errors were encountered: