linebender / parley

Rich text layout library
Apache License 2.0
158 stars 18 forks source link

Consider using the `unicode-bidi` crate for the Unicode bidirectional algorithm #49

Open nicoburns opened 2 months ago

nicoburns commented 2 months ago

https://github.com/servo/unicode-bidi

This crate is widely used across the Rust ecosystem including by Gecko, Servo, and the url crate. I believe it could be used to replace most of the code in https://github.com/linebender/parley/blob/main/src/bidi.rs