summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/shorthands.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/text/shorthands.typ b/tests/typ/text/shorthands.typ
index 2efd1ad1..5c94dab0 100644
--- a/tests/typ/text/shorthands.typ
+++ b/tests/typ/text/shorthands.typ
@@ -4,6 +4,14 @@
The non-breaking~space does work.
---
+// Make sure non-breaking and normal space always
+// have the same width. Even if the font decided
+// differently.
+#set text("Latin Modern Roman")
+a b \
+a~b
+
+---
- En dash: --
- Em dash: ---