-
Notifications
You must be signed in to change notification settings - Fork 37
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Example on how to draw with this #25
Comments
Yes, I've planned to write such example. It would be a bit rudimentary, because font fallback and emojis must be handled by the caller, but other than that it should be fine. |
I have a terrible, awful repo up at https://git.xobs.io/xobs/rust-font-test that you're welcome to steal from. That repository is an experiment in memory usage and rendering. It uses rusttype for rendering. It even renders emoji properly, and does a decent job of Arabic. |
@xobs Thank you |
When I call |
I used rustybuzz and ab_glyph in a project of mine. Code should be here https://github.com/asibahi/nun/blob/master/src/draw.rs |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
So, I never use harfbuzz and I'm a bit lost about how to use this and integrate with ttf-parser or rusttype, can you provide an example of using this to draw non-latin text, I'm talking of an example with tiny-skia, ttf-parser and this or something that you want.
Thank you in advance
The text was updated successfully, but these errors were encountered: