RTL and LTR mixtures still not correct in variable width regions. The loop was much simpler than i thought. You can just adjust the offset based off your own directionality.
Created attachment 109352 [details] Patch
Fixed in r96431.