summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-09-28 09:42:04 +0200
committerLaurenz <laurmaedje@gmail.com>2021-09-28 10:53:54 +0200
commit0e89facb538a6ddd6890f2516f6d33059e7b3483 (patch)
tree4593b3ab4a3a957f4b7ced8a625c019ac8c9658a /tests/typ
parentf1ab2905721e4a81b2acfa8f258c49ce6e172766 (diff)
Allow linear values for text edges
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/text/font.typ2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/typ/text/font.typ b/tests/typ/text/font.typ
index 98643565..6457f7a7 100644
--- a/tests/typ/text/font.typ
+++ b/tests/typ/text/font.typ
@@ -58,6 +58,8 @@ Emoji: 🐪, 🌋, 🏞
#try(ascender, baseline)
#try(cap-height, baseline)
#try(x-height, baseline)
+#try(4pt, -2pt)
+#try(1pt + 27%, -18%)
---
// Error: 7-12 unexpected argument