[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62656] troff doesn't warn when a bogus font name is selected
From: |
G. Branden Robinson |
Subject: |
[bug #62656] troff doesn't warn when a bogus font name is selected |
Date: |
Mon, 20 Jun 2022 14:58:06 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62656>
Summary: troff doesn't warn when a bogus font name is
selected
Project: GNU troff
Submitter: gbranden
Submitted: Mon 20 Jun 2022 06:58:04 PM UTC
Category: Core
Severity: 3 - Normal
Item Group: Warning/Suspicious behaviour
Status: In Progress
Privacy: Public
Assigned to: gbranden
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 20 Jun 2022 06:58:04 PM UTC By: G. Branden Robinson <gbranden>
Affects groff 1.22.4.
$ nroff -ww
.ft 200
a
.ft BOGUS
b
.pl \n[nl]u
a b
We should get warnings about selection of nonexistent fonts, even _without_
`-ww`, but we don't.
groff Git HEAD does cope with the bogus mounting position case.
$ ./build/test-groff -Tascii -ww
.ft 200
troff:<standard input>:1: warning: no font mounted at position 200
a
.ft BOGUS
b
.pl \n[nl]u
a b
...but not the bogus font name.
Fix this.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62656>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #62656] troff doesn't warn when a bogus font name is selected,
G. Branden Robinson <=