summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/bugs/justify-hanging-indent.pngbin0 -> 1864 bytes
-rw-r--r--tests/typ/bugs/justify-hanging-indent.typ6
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/bugs/justify-hanging-indent.png b/tests/ref/bugs/justify-hanging-indent.png
new file mode 100644
index 00000000..015cc44e
--- /dev/null
+++ b/tests/ref/bugs/justify-hanging-indent.png
Binary files differ
diff --git a/tests/typ/bugs/justify-hanging-indent.typ b/tests/typ/bugs/justify-hanging-indent.typ
new file mode 100644
index 00000000..511aa172
--- /dev/null
+++ b/tests/typ/bugs/justify-hanging-indent.typ
@@ -0,0 +1,6 @@
+// Test that combination of justification and hanging indent doesn't result in
+// an underfull first line.
+
+---
+#set par(hanging-indent: 2.5cm, justify: true)
+#lorem(5)