Replies: 2 comments 8 replies
-
That's roughly where you start, yes. |
Beta Was this translation helpful? Give feedback.
8 replies
-
|
My recommendation is to ask harfbuzz authors. rustybuzz is just a port. It works the same. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm drawing text fields in my app UI with rustybuzz, but now as I start trying other languages, I get into trouble. My app had one font (Roboto, which I downloaded from Google's font site), so when I tried drawing Chinese characters ("你好") there were no glyphs. I downloaded a new font that has the glyphs (NotoSansSC), but ... what's the recommended approach here?
Do I use the unicode-script crate to split my string into pieces by "script" property, and then call
rustybuzz::shape(...)on each string piece separately? I could have a map from Script values to different fonts.Beta Was this translation helpful? Give feedback.
All reactions