~jaro/balkon

ref: 23c52ba5b3a933207890308c867d196674bc0784 balkon/src/Data/Text/ParagraphLayout/Internal/ProtoFragment.hs -rw-r--r-- 1.8 KiB
Separate vertical alignment from horizontal positioning.
Store vertical offsets inside ProtoFragment.

Intended to make these offsets manipulable during layout.
Internally mark hard line breaks.
Simplify code since run direction is always known.
Propagate BiDi levels to layout algorithm.

BREAKING: Text direction of the root box is now correctly used for
ordering fragments. Previously, the order was always LTR.
Move BiDi Level to separate module.
Integrate BiDi reordering.
Fix style: white space in exports and imports.
Decompose ProtoFragment construction.
Fix documentation of ProtoFragment after RTL placement.
Implement correct positioning of RTL runs.
Move non-public modules into Internal namespace.
Lay out Runs independently of Spans.