Update of bug #61089 (project groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
_______________________________________________________
Follow-up Comment #14:
The assertion failure is fixed. The remaining items I will tackle in separate
tickets.
commit 69efbe0a69a8e7de8904d78e3de8c7e8a58a8b92
Author: G. Branden Robinson <[email protected]>
Date: Sat Sep 4 23:20:54 2021 +1000
[troff]: Don't adjust nonadjustable lines.
This means that the direction from which an output line in adjustment
mode "b" (or its "n" synonym) is filled with supplemental space is not
changed if that output line does not require adjustment. This will
result in whitespace changes to documents using that adjustment mode,
and these changes will be plainly visible on low-resolution output
devices like terminals.
To illustrate, in the following "A" means an output line requiring
adjustment; "F" a line that is "full" and does not; and "L" and "R"
indicate distribution of adjustment spaces from the left and right,
respectively.
groff 1.22.4 groff 1.23.0
------------ ------------
A L A L
A R A R
F L F R
A R A L
* src/roff/troff/env.cpp (distribute_space): Return early if either the
amount of desired space to be distributed or the count of space nodes
in the output line to distribute it among is zero.
* tmac/tests/an_TH-repairs-ad-damage.sh: Update test to expect space to
be distributed differently.
Fixes <https://savannah.gnu.org/bugs/?61089> and
<https://savannah.gnu.org/bugs/index.php?60673>.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61089>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/