~jaro/balkon

ref: cbf986938727b82b0d4bb9fc2bc163acb45cd870 balkon/test/Data/Text/ParagraphLayout/ParagraphData.hs -rw-r--r-- 6.2 KiB
Fix style: white space in exports and imports.
Fix style: bullet points in comments.
Fix typos in comments.
Test removing spaces around lines.
Support hard line breaks.
Test effect of paragraph prefix.
Add test for Devanagari.
Remove (~) operator from ParagraphConstruction.

The tilde operator was causing compilation errors with older versions
of GHC, possibly due to a conflict with the lazy pattern match syntax.

It has been replaced by a pure Haskell alternative that uses function
application.
Test forming and breaking ligatures.
Fix comment syntax.
Add line wrapping tests with spans.
Make SpanOptions a separate type.
Move non-public modules into Internal namespace.
Add test for RTL text.
Test line splitting with many runs.
Add ignored prefixes and suffixes to test data.

This ensures that implementation does not rely on the texts having zero
offset inside their byte arrays.
Implement line breaking on code point boundaries.
Implement absolute line heights with half-leadings.
Use infix operators for constructing test data.
Implement "plain" interface.