From 0e89facb538a6ddd6890f2516f6d33059e7b3483 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 28 Sep 2021 09:42:04 +0200 Subject: Allow linear values for text edges --- tests/ref/text/font.png | Bin 22712 -> 24650 bytes tests/typ/text/font.typ | 2 ++ 2 files changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/ref/text/font.png b/tests/ref/text/font.png index b8e0775a..2dfab870 100644 Binary files a/tests/ref/text/font.png and b/tests/ref/text/font.png differ 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 -- cgit v1.2.3