diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-09-19 10:28:06 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-09-19 10:28:06 +0200 |
| commit | b98004330bf3ef372a0f0ef5c7daf1f96fd7873a (patch) | |
| tree | 693b78cabbbbb5424b538be9cd79544fa1f48569 /tests/typ | |
| parent | 0d12f2ab23177642eef2e6bb9c583cdd0c743b33 (diff) | |
Handle non-breaking spaces during justification
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/text/shorthands.typ | 8 |
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: --- |
