URL:
<https://savannah.gnu.org/bugs/?64624>
Summary: [grotty] some pic actions make following text
illegible
Group: GNU roff
Submitter: barx
Submitted: Tue 05 Sep 2023 07:35:32 AM CDT
Category: Driver grotty
Severity: 3 - Normal
Item Group: Rendering/Cosmetics
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 05 Sep 2023 07:35:32 AM CDT By: Dave <barx>
$ cat test.pic
Some text.
.PS
arrow
.PE
Some more text.
$ nroff -p test.pic | cat -s
I'm not including the output of this nroff here, as the problem can't be
reproduced in plain text. What I see (besides expected warnings on stderr
about grotty not knowing what to do with drawing commands) is "Some text.",
followed by two lines of black text on a black background.
(I see this when my terminal window is configured to show black text on a
nonblack background. If I use a terminal with white text on a nonwhite
background, the affected lines still display with a black background, but the
text, in its normal white, is visible.)
But if I change the pic command:
$ sed s/arrow/circle/ test.pic | nroff -p | cat -s
now grotty doesn't attempt to render the drawing at all, and the text displays
without issue, regardless of terminal colors.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64624>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/