From cce744cf780dd730f1638e17a0e106faeb38de22 Mon Sep 17 00:00:00 2001 From: wznmickey Date: Sun, 17 Nov 2024 04:04:07 -0500 Subject: Fix unnecessary hyphenation (#5394) --- tests/ref/issue-5360-unnecessary-hyphenation.png | Bin 0 -> 1569 bytes tests/suite/layout/inline/justify.typ | 5 +++++ 2 files changed, 5 insertions(+) create mode 100644 tests/ref/issue-5360-unnecessary-hyphenation.png (limited to 'tests') diff --git a/tests/ref/issue-5360-unnecessary-hyphenation.png b/tests/ref/issue-5360-unnecessary-hyphenation.png new file mode 100644 index 00000000..90a8180a Binary files /dev/null and b/tests/ref/issue-5360-unnecessary-hyphenation.png differ diff --git a/tests/suite/layout/inline/justify.typ b/tests/suite/layout/inline/justify.typ index 576f8519..6e0317ac 100644 --- a/tests/suite/layout/inline/justify.typ +++ b/tests/suite/layout/inline/justify.typ @@ -172,3 +172,8 @@ int main() { // Test that overflow does not lead to bad bounds in paragraph optimization. #set par(justify: true) #block(width: 0pt)[A B] + +--- issue-5360-unnecessary-hyphenation --- +// Test whether `Formal` would be in one line. +#set par(justify: true) +#table(columns: 1, [Formal]) -- cgit v1.2.3