summaryrefslogtreecommitdiff
path: root/tests/ref/visualize
diff options
context:
space:
mode:
authorbluebear94 <uruwi@protonmail.com>2023-08-02 18:45:40 -0400
committerGitHub <noreply@github.com>2023-08-03 00:45:40 +0200
commitc5a103867d78e61f8d9c4859eb8e668accc4cbd0 (patch)
treea70f54f9cf7a6ffebce05c416d7e69899aa5f40d /tests/ref/visualize
parent39e101f0af21424eb893d27a634ee7f6a8a0d5f1 (diff)
layout::par::finalize: Bound allotted width when fitting to width (#1828)
Sometimes, optimized line breaking outputs lines that are wider than the allotted width so that spacing between words can be narrowed to fit. However, the width calculation for the fit-to-width case does not account for this, causing the resulting width to exceed the width of the region. This commit takes the minimum of the calculated width with the width of the region. Fixes #1825.
Diffstat (limited to 'tests/ref/visualize')
-rw-r--r--tests/ref/visualize/shape-rect.pngbin9691 -> 247247 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/ref/visualize/shape-rect.png b/tests/ref/visualize/shape-rect.png
index 17675400..48d40447 100644
--- a/tests/ref/visualize/shape-rect.png
+++ b/tests/ref/visualize/shape-rect.png
Binary files differ