~jaro/balkon

ref: d5807a8ebe4763c4fbdf157357e16eae70ff0f00 balkon/test d---------
Reduce test dependencies on fonts.
Properly use ICU locale identifiers.
Fix test warnings.
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.
Refactor line breaking.
Test forming and breaking ligatures.
Allow breaking at character bounds.
Implement trimming spaces at end of lines.
Ensure paragraph rect is unaffected by spans.
Fix comment syntax.
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.
Make SpanOptions a separate type.
Hide Rect union from public interface.

The function behaves in a specific way that should not be relied on by
other modules.
Move non-public modules into Internal namespace.
Make ParagraphConstruction more efficient.
Make paragraphRect origin always 0,0.

This convention should make it easier for the caller to properly place
the paragraph within a document.
Add test for RTL text.
Remove obsolete TODO.
Test line splitting with many runs.
Next