diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/layout/par-justify.png | bin | 19571 -> 27297 bytes | |||
| -rw-r--r-- | tests/typ/layout/par-justify.typ | 10 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/ref/layout/par-justify.png b/tests/ref/layout/par-justify.png Binary files differindex fd25c5b7..5745f081 100644 --- a/tests/ref/layout/par-justify.png +++ b/tests/ref/layout/par-justify.png diff --git a/tests/typ/layout/par-justify.typ b/tests/typ/layout/par-justify.typ index 2e5b4806..e72a2a07 100644 --- a/tests/typ/layout/par-justify.typ +++ b/tests/typ/layout/par-justify.typ @@ -40,3 +40,13 @@ This text can be fitted in one line. "a b c " } #"d" + +--- +// Test that justification cannot lead to a leading space +#set par(justify: true) +#set text(size: 12pt) +#set page(width: 45mm, height: auto) + +lorem ipsum 1234, lorem ipsum dolor sit amet + +#" leading whitespace should still be displayed" |
