Bidi & complex text layout/shaping
Created by: SimonSapin
From README.md
:
Notable things that RustType does not support yet: […]
- Right-to-left and vertical text layout.
With right-to-left you’ll probably want to also support bidirectional text. There’s a rust implementation of the bidi algorithm at https://github.com/servo/unicode-bidi
However, maybe this shouldn’t be part of RustType. Maybe RustType should ideally be one component in a larger "text rendering in rust" ecosystem. For example, complex text shaping is hard and I’m very skeptical of re-implementing HarfBuzz in Rust, I’d rather have some way to use HarfBuzz together with RustType.
(In case you’re not familiar with HarfBuzz, http://behdad.org/text/ explains where it sits in the stack overall and http://mces.blogspot.in/2009/11/pango-vs-harfbuzz.html how it compares to Pango, although these documents is are few years old already.)