Update of bug #61206 (project groff):
Status: None => In Progress
Assigned to: None => gbranden
_______________________________________________________
Follow-up Comment #1:
Here's a simpler reproducer in raw roff, also demonstrating a fix in
preparation.
$ cat EXPERIMENTS/pic1.roff
\en(.F is \n(.F
.br
$ ln EXPERIMENTS/pic1.roff EXPERIMENTS/pic2.roff
$ groff -p -T utf8 EXPERIMENTS/pic*roff | cat -s
\n(.F is EXPERIMENTS/pic1.roff
\n(.F is EXPERIMENTS/pic1.roff
$ ./build/test-groff -p -T utf8 EXPERIMENTS/pic*roff | cat -s
\n(.F is EXPERIMENTS/pic1.roff
\n(.F is EXPERIMENTS/pic2.roff
The output of pic is more revealing.
$ pic EXPERIMENTS/pic*.roff
.if !dPS .ds PS
.if !dPE .ds PE
.lf 1 EXPERIMENTS/pic1.roff
\en(.F is \n(.F
.br
.lf 1
\en(.F is \n(.F
.br
$ ./build/pic EXPERIMENTS/pic*.roff
.do if !dPS .ds PS
.do if !dPE .ds PE
.do if !dPF .ds PF
.lf 1 EXPERIMENTS/pic1.roff
\en(.F is \n(.F
.br
.lf 1 EXPERIMENTS/pic2.roff
\en(.F is \n(.F
.br
Observe the arguments to the _second_ `lf` request in each case.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61206>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/