summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-04-13 11:59:05 +0200
committerLaurenz <laurmaedje@gmail.com>2022-04-13 11:59:05 +0200
commite8dd842c6699c665225c03e904a40887f8424e30 (patch)
tree2bbf1aa10f07eba6f7bab235c917bb9ce92861d9 /tests
parentf7875032b7cec9c53f0c9a2ce9542347cad8f421 (diff)
Fix bug with basically empty paragraph
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/text/justify.pngbin29155 -> 29296 bytes
-rw-r--r--tests/typ/text/justify.typ6
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/text/justify.png b/tests/ref/text/justify.png
index aa01016f..d0b6c7bf 100644
--- a/tests/ref/text/justify.png
+++ b/tests/ref/text/justify.png
Binary files differ
diff --git a/tests/typ/text/justify.typ b/tests/typ/text/justify.typ
index 24b6b99e..3659f8ef 100644
--- a/tests/typ/text/justify.typ
+++ b/tests/typ/text/justify.typ
@@ -25,3 +25,9 @@ D
#set page(width: 200pt)
#set par(justify: true)
中文维基百科使用汉字书写,汉字是汉族或华人的共同文字,是中国大陆、新加坡、马来西亚、台湾、香港、澳门的唯一官方文字或官方文字之一。25.9%,而美国和荷兰则分別占13.7%及8.2%。近年來,中国大陆地区的维基百科编辑者正在迅速增加;
+
+---
+// Test that there are no hick-ups with justification enabled and
+// basically empty paragraph.
+#set par(justify: true)
+{""}