~jaro/balkon

ref: 9e3b0ec7fd4a92e3d2dba81cd00dadc4dfe4006c balkon/test/Data/Text/ParagraphLayout/Internal/RunSpec.hs -rw-r--r-- 11.4 KiB
Store parent text options in ResolvedBox.

This is required for vertically aligning the box with its parent.
Allow generating an empty run.
Store default level in BiDiLevels.

This will be required for handling empty text sequences.
Internally mark hard line breaks.
Simplify code since run direction is always known.
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.
Add expected run lengths to test data.
Add more sample texts.
Deduplicate emptyFont in RunSpec.
Generalise text from SpanData for other tests.
Add Arabic examples to spanToRuns tests.
Fix style: white space in exports and imports.
Reduce test dependencies on fonts.
Move non-public modules into Internal namespace.
Minimise working with Data.Text.Internal.
Link to Span using a generic wrapper.
Implement "plain" interface.
Separate tests by module.