From aa62d054532e91f988c39dee97c00ce54f18b605 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 28 Oct 2023 20:05:32 +0200 Subject: Fix justification with hanging indent and negative spacing Fixes #2419 --- tests/typ/bugs/justify-hanging-indent.typ | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/typ/bugs/justify-hanging-indent.typ (limited to 'tests/typ') 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) -- cgit v1.2.3