summaryrefslogtreecommitdiff
path: root/tests/ref/control
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-03-10 10:20:01 +0100
committerLaurenz <laurmaedje@gmail.com>2021-03-10 10:20:01 +0100
commitbbb9ed07ffe8a2a0ea0a232f6cfc52f82f7f7afe (patch)
tree2b106b63e104652b66efc74a0ffa3080a8b0a134 /tests/ref/control
parentb2b8d37ce03de60582230e03c03efa356b6f31d3 (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/control')
-rw-r--r--tests/ref/control/for.pngbin2762 -> 2787 bytes
-rw-r--r--tests/ref/control/if.pngbin1689 -> 1727 bytes
-rw-r--r--tests/ref/control/invalid.pngbin3700 -> 3772 bytes
-rw-r--r--tests/ref/control/let.pngbin2050 -> 2089 bytes
-rw-r--r--tests/ref/control/while.pngbin886 -> 929 bytes
5 files changed, 0 insertions, 0 deletions
diff --git a/tests/ref/control/for.png b/tests/ref/control/for.png
index f0d4a5cd..d04ea62c 100644
--- a/tests/ref/control/for.png
+++ b/tests/ref/control/for.png
Binary files differ
diff --git a/tests/ref/control/if.png b/tests/ref/control/if.png
index 04724e1f..99bde49e 100644
--- a/tests/ref/control/if.png
+++ b/tests/ref/control/if.png
Binary files differ
diff --git a/tests/ref/control/invalid.png b/tests/ref/control/invalid.png
index c9822eeb..ff4c6987 100644
--- a/tests/ref/control/invalid.png
+++ b/tests/ref/control/invalid.png
Binary files differ
diff --git a/tests/ref/control/let.png b/tests/ref/control/let.png
index 693a8d4f..5fb1c992 100644
--- a/tests/ref/control/let.png
+++ b/tests/ref/control/let.png
Binary files differ
diff --git a/tests/ref/control/while.png b/tests/ref/control/while.png
index 55a6ed80..890131f1 100644
--- a/tests/ref/control/while.png
+++ b/tests/ref/control/while.png
Binary files differ