Closed bluebear94 closed 1 year ago
Thanks!
FWIW, HarfBuzz API is designed so that when you are shaping a piece of text, e.g. a paragraph, you can itemize it then shape each item by passing the whole string and the item offset and length without having to split the string.
I understand. Lucky in Rust it's a very simple and safe operation.
Resolves #60.
Only dealing with the UTF-8 version for now. I personally need a UTF-16 version as well, but generalizing this for other encodings can come later.