diff options
| author | Peng Guanwen <pg999w@outlook.com> | 2024-01-29 18:46:41 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-29 10:46:41 +0000 |
| commit | 269860c571fa270ac5a2a25f52f0b24fa52d7ba1 (patch) | |
| tree | cdd6d3e5cc93714a9f7f404535f357f0f6affca3 /tests/typ/text | |
| parent | 6207b3d9b010d07f73b1819fe1d8463dee3c5adc (diff) | |
Do not parse special spaces to Space Token (#3267)
Diffstat (limited to 'tests/typ/text')
| -rw-r--r-- | tests/typ/text/space.typ | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/typ/text/space.typ b/tests/typ/text/space.typ index a3fd6c0a..9d29f347 100644 --- a/tests/typ/text/space.typ +++ b/tests/typ/text/space.typ @@ -40,3 +40,14 @@ A#"\n" B --- // Test that trailing space does not force a line break. LLLLLLLLLLLLLLLLLL R _L_ + +--- +// Test that ideographic spaces are preserved. +#set text(lang: "ja", font: "Noto Serif CJK JP") + +だろうか? 何のために! 私は、 + +--- +// Test that thin spaces are preserved. +| | U+0020 regular space \ +| | U+2009 thin space |
