Follow-up Comment #7, bug #64624 (project groff):
Thanks for this additional information. It showed the way to a
solution.
"grotty" needs the option '-c' to render the output correctly on a
white background.
The output "nroff -p <file> 2> /dev/null" shows
00000000: 536f 6d65 2074 6578 742e 0a1b 5b34 306d Some text...[40m
00000010: 2d2d 2d2d 2b2d 1b5b 306d 0a1b 5b34 306d ----+-.[0m..[40m
00000020: 536f 6d65 206d 6f72 6520 7465 7874 2e1b Some more text..
00000030: 5b30 6d0a [0m.
This is the same for both black (TERM=linux) and white (TERM=xterm)
background.
Output with "-P-c" is
00000000: 536f 6d65 2074 6578 742e 0a2d 2d2d 2d2b Some text..----+
00000010: 2d0a 536f 6d65 206d 6f72 6520 7465 7874 -.Some more text
00000020: 2e0a ..
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64624>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/