Add tests for mixed text direction.
Test spanToRuns independently for scripts/directions.
Integrate BiDi levels with spanToRuns algorithm.
Span/box boundaries no longer reset directionality.
BREAKING: Text with no strongly directional characters would
previously be treated as having no direction. It will now be
treated as having the direction defined in TextOptions.
This affects calculated positions.
Convert legacy span directions into levels.
Move BiDi Level to separate module.
Add expected run lengths to test data.
Add helper function for run-length encoding.
Deduplicate emptyFont in RunSpec.
Generalise text from SpanData for other tests.
Deduplicate code in SpanData.
Add Arabic examples to spanToRuns tests.
Add shaped runs to manually test pagination.
Consolidate tree types into one.
Test interaction between boxes and mixed script.
Test soft breaking on box spacing.
Test line breaking in boxes.
Add ancestor boxes to interface.
Implement finding box edges.
Make paragraph direction explicit in tests.