Replies: 5 comments 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@xobs Thank you |
Beta Was this translation helpful? Give feedback.
-
When I call |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions