4 Commits

Author SHA1 Message Date
Laurenz
bbb9ed07ff 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.
2021-03-10 10:20:01 +01:00
Laurenz
34f839c717 Improve tests 🔨 2021-03-03 22:48:54 +01:00
Laurenz
de37a056ed Split pushed text at newlines ✂ 2021-02-21 11:43:25 +01:00
Laurenz
05727bfc3a Reorganize tests 🔀 2021-02-20 23:34:33 +01:00