From 7adeb4965264bb5500bfa448cd58f9b5e5e4dc00 Mon Sep 17 00:00:00 2001 From: Malo <57839069+MDLC01@users.noreply.github.com> Date: Thu, 14 Dec 2023 14:21:25 +0100 Subject: Improve number display (#2936) --- tests/ref/compiler/array.png | Bin 19884 -> 8306 bytes tests/ref/compiler/repr-color-gradient.png | Bin 50034 -> 50018 bytes tests/ref/text/edge.png | Bin 58153 -> 22578 bytes tests/ref/text/numbers.png | Bin 183933 -> 38321 bytes tests/typ/compiler/methods.typ | 4 ++-- 5 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/ref/compiler/array.png b/tests/ref/compiler/array.png index b97dd317..9b6bf8b3 100644 Binary files a/tests/ref/compiler/array.png and b/tests/ref/compiler/array.png differ diff --git a/tests/ref/compiler/repr-color-gradient.png b/tests/ref/compiler/repr-color-gradient.png index 95136c1a..11bde774 100644 Binary files a/tests/ref/compiler/repr-color-gradient.png and b/tests/ref/compiler/repr-color-gradient.png differ diff --git a/tests/ref/text/edge.png b/tests/ref/text/edge.png index ee5e68d3..1daf4c2f 100644 Binary files a/tests/ref/text/edge.png and b/tests/ref/text/edge.png differ diff --git a/tests/ref/text/numbers.png b/tests/ref/text/numbers.png index f4d96c17..9fc76aae 100644 Binary files a/tests/ref/text/numbers.png and b/tests/ref/text/numbers.png differ diff --git a/tests/typ/compiler/methods.typ b/tests/typ/compiler/methods.typ index bd38bbd4..692f9ab3 100644 --- a/tests/typ/compiler/methods.typ +++ b/tests/typ/compiler/methods.typ @@ -76,7 +76,7 @@ #test((5em + 6in).abs.inches(), 6.0) --- -// Error: 2-21 cannot convert a length with non-zero em units (`−6pt + 10.5em`) to pt +// Error: 2-21 cannot convert a length with non-zero em units (`-6pt + 10.5em`) to pt // Hint: 2-21 use `length.abs.pt()` instead to ignore its em component #(10.5em - 6pt).pt() @@ -86,7 +86,7 @@ #(3em).cm() --- -// Error: 2-20 cannot convert a length with non-zero em units (`−226.77pt + 93em`) to mm +// Error: 2-20 cannot convert a length with non-zero em units (`-226.77pt + 93em`) to mm // Hint: 2-20 use `length.abs.mm()` instead to ignore its em component #(93em - 80mm).mm() -- cgit v1.2.3