Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We weren't properly re-ordering complex "nested levels" (more than one level of bidi) of bidi runs. Examples from here: https://www.iamcal.com/understanding-bidirectional-text/  UAT on the left and changes from this PR on the right. I'd applied a naive solution assuming that when the paragraph was left to right we could simply blast through the runs in logical order, but that's not strictly true. You need to always order based on bidi levels. This PR propagates the bidi level (not just whether it's LTR or RTL) so the ordering can be done correctly. Also adds a golden (thanks @susan101566 [for the notes](https://www.notion.so/rive-app/Debug-Rive-Clients-fe6145fb4d25479b9c7122528752892e?pvs=4#ae2cbdb8bf0541fcb187bb7b330db2b1) and @csmartdalton for details). Diffs= 01066ff6a0 Fix bidi (#8517)
- Loading branch information