diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-03-27 21:52:39 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-03-27 21:52:39 +0100 |
| commit | 57ca9628c14378e8816a8a1f1530ae69c2269907 (patch) | |
| tree | 01c4dfa7be25047b3f50fc7a186b03d2cd3394b7 /tests/ref | |
| parent | 76fc4cca62f5b955200b2c62cc85b69eea491ece (diff) | |
Better space coalescing logic 🌧
This creates a smaller state machine helper type for softness coalescing, which does not own the resulting nodes. While this creates a bit more duplication in stack and par builder, it makes it a lot easier to integrate additional logic into the paragraph builder.
Furthermore:
- Line breaks are now "hard", that is, not coalesced with each other.
- Text nodes with equal style are now merged allowing for example `f{}i` to form a ligature.
Diffstat (limited to 'tests/ref')
| -rw-r--r-- | tests/ref/control/for.png | bin | 2715 -> 2700 bytes |
| -rw-r--r-- | tests/ref/markup/heading.png | bin | 5177 -> 5187 bytes |
| -rw-r--r-- | tests/ref/markup/linebreak.png | bin | 4292 -> 3574 bytes |
| -rw-r--r-- | tests/ref/markup/nbsp.png | bin | 1769 -> 1664 bytes |
4 files changed, 0 insertions, 0 deletions
diff --git a/tests/ref/control/for.png b/tests/ref/control/for.png Binary files differindex 1c7dfd42..bf6b535c 100644 --- a/tests/ref/control/for.png +++ b/tests/ref/control/for.png diff --git a/tests/ref/markup/heading.png b/tests/ref/markup/heading.png Binary files differindex a32229e7..a7de742d 100644 --- a/tests/ref/markup/heading.png +++ b/tests/ref/markup/heading.png diff --git a/tests/ref/markup/linebreak.png b/tests/ref/markup/linebreak.png Binary files differindex 512fa0f5..32236e74 100644 --- a/tests/ref/markup/linebreak.png +++ b/tests/ref/markup/linebreak.png diff --git a/tests/ref/markup/nbsp.png b/tests/ref/markup/nbsp.png Binary files differindex cc920776..8834bb2b 100644 --- a/tests/ref/markup/nbsp.png +++ b/tests/ref/markup/nbsp.png |
