diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/text/shaping.png | bin | 17929 -> 2640 bytes | |||
| -rw-r--r-- | tests/ref/text/tracking-spacing.png | bin | 6474 -> 6483 bytes | |||
| -rw-r--r-- | tests/typ/text/shaping.typ | 18 |
3 files changed, 18 insertions, 0 deletions
diff --git a/tests/ref/text/shaping.png b/tests/ref/text/shaping.png Binary files differindex a95f44e0..3d3e611d 100644 --- a/tests/ref/text/shaping.png +++ b/tests/ref/text/shaping.png diff --git a/tests/ref/text/tracking-spacing.png b/tests/ref/text/tracking-spacing.png Binary files differindex ec130c99..8e6db3cc 100644 --- a/tests/ref/text/tracking-spacing.png +++ b/tests/ref/text/tracking-spacing.png diff --git a/tests/typ/text/shaping.typ b/tests/typ/text/shaping.typ new file mode 100644 index 00000000..51199090 --- /dev/null +++ b/tests/typ/text/shaping.typ @@ -0,0 +1,18 @@ +// Test shaping quirks. + +--- +// Test separation by script. +ABCअपार्टमेंट + +// This is how it should look like. +अपार्टमेंट + +// This (without the spaces) is how it would look +// if we didn't separate by script. +अ पा र् ट में ट + +--- +// Test that RTL safe-to-break doesn't panic even though newline +// doesn't exist in shaping output. +#set text(dir: rtl, "Noto Serif Hebrew") +\ ט |
