diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/text/space.png | bin | 8097 -> 12663 bytes | |||
| -rw-r--r-- | tests/typ/layout/par-justify-cjk.typ | 2 | ||||
| -rw-r--r-- | tests/typ/meta/numbering.typ | 2 | ||||
| -rw-r--r-- | tests/typ/text/space.typ | 11 |
4 files changed, 13 insertions, 2 deletions
diff --git a/tests/ref/text/space.png b/tests/ref/text/space.png Binary files differindex d2b9a5aa..bae0e0a8 100644 --- a/tests/ref/text/space.png +++ b/tests/ref/text/space.png diff --git a/tests/typ/layout/par-justify-cjk.typ b/tests/typ/layout/par-justify-cjk.typ index cd25fca1..51c86c7b 100644 --- a/tests/typ/layout/par-justify-cjk.typ +++ b/tests/typ/layout/par-justify-cjk.typ @@ -15,7 +15,7 @@ // Japanese typography is more complex, make sure it is at least a bit sensible. #set page(width: auto) #set par(justify: true) -#set text(lang: "jp", font: ("Linux Libertine", "Noto Serif CJK JP")) +#set text(lang: "ja", font: ("Linux Libertine", "Noto Serif CJK JP")) #rect(inset: 0pt, width: 80pt, fill: rgb("eee"))[ ウィキペディア(英: Wikipedia)は、世界中のボランティアの共同作業によって執筆及び作成されるフリーの多言語インターネット百科事典である。主に寄付に依って活動している非営利団体「ウィキメディア財団」が所有・運営している。 diff --git a/tests/typ/meta/numbering.typ b/tests/typ/meta/numbering.typ index 171eca1a..9c0c9b66 100644 --- a/tests/typ/meta/numbering.typ +++ b/tests/typ/meta/numbering.typ @@ -41,7 +41,7 @@ } --- -#set text(lang: "jp", font: ("Linux Libertine", "Noto Serif CJK JP")) +#set text(lang: "ja", font: ("Linux Libertine", "Noto Serif CJK JP")) #for i in range(0, 4) { numbering("イ", i) [ (or ] 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 |
