~jaro/balkon

ref: 1e8de66a311429538c26baf8e8a6fac212270e42 balkon/src/Data/Text/ParagraphLayout/Internal/TextOptions.hs -rw-r--r-- 3.0 KiB
Allow overriding font ascender and descender.

Provides an easy option for influencing vertical metrics, which may be
useful for implementing replaced and inline-block elements.
Prepare for vertical-align in BoxOptions.
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.
Add required textDirection to TextOptions.
Define BoxOptions and TextOptions for formatting.

Differentiating the two record types reflects the fact that the root
inline box cannot be styled but its text contents can.