~jaro/balkon

ref: 0f31dc89243ba2ac965a2591c9077f941660c8e4 balkon/test/Data/Text/ParagraphLayoutSpec.hs -rw-r--r-- 13.2 KiB
Separate module for the ParagraphLayout type.
Test removing spaces around lines.
Ensure tests do not pass with missing files.
Support hard line breaks.
Add shaped runs for demo.
Allow custom font options outside FontLoader.
Improve test readability with runIO.
Allow polymorphism in writing golden tests.
Refactor pretty printing for golden tests.
Test effect of paragraph prefix.
Add test for Devanagari.
Test forming and breaking ligatures.
Allow breaking at character bounds.
Ensure paragraph rect is unaffected by spans.
Insert extra test to work around segmentation fault.

Without the added test, the test suite causes a segmentation fault
after starting "wraps by characters when line is ultra narrow".
Add line wrapping tests with spans.
Move non-public modules into Internal namespace.
Implement "plain" interface.
Separate tests by module.