diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-03-10 10:20:01 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-03-10 10:20:01 +0100 |
| commit | bbb9ed07ffe8a2a0ea0a232f6cfc52f82f7f7afe (patch) | |
| tree | 2b106b63e104652b66efc74a0ffa3080a8b0a134 /tests/ref/spacing.png | |
| parent | b2b8d37ce03de60582230e03c03efa356b6f31d3 (diff) | |
Better line spacing calculations ↕
- Only add line spacing between lines. Previously, line spacing was added below
every line, making `#box[word]` higher than just `word`.
- Compute box height of text as `ascender - descender` so that the full word is
contained in the box.
Diffstat (limited to 'tests/ref/spacing.png')
| -rw-r--r-- | tests/ref/spacing.png | bin | 5455 -> 5494 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/ref/spacing.png b/tests/ref/spacing.png Binary files differindex a8086177..8bdc9885 100644 --- a/tests/ref/spacing.png +++ b/tests/ref/spacing.png |
