bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63332] recent fallbacks.tmac change degrades ASCII output


From: G. Branden Robinson
Subject: [bug #63332] recent fallbacks.tmac change degrades ASCII output
Date: Fri, 25 Nov 2022 15:53:54 -0500 (EST)

Update of bug #63332 (project groff):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

It appears that having a special character on the RHS of an `fchar` request
marks it as defined for the purpose of the `c` conditional expression, even
though it's not _really_ defined.

This seems like a bug in the formatter.  I ran it with startup files disabled
to illustrate this.

Evidence:


$ cat EXPERIMENTS/char.groff 
.fchar \[u2020] \[dg]\" dagger
.if c \[u2020] .tm u2020 is defined (1)
.if c \[dg] .tm dg is defined (1)
.\"char \[dg] <*>
.if c \[u2020] .tm u2020 is defined (2)
.if c \[dg] .tm dg is defined (2)
.nf
u2020: \[u2020]
dg: \[dg]

$ ./build/troff -Tascii -F build/font -F font -R EXPERIMENTS/char.groff
u2020 is defined (1)
dg is defined (1)
u2020 is defined (2)
dg is defined (2)
x T ascii
x res 240 24 40
x init
p1
./build/troff:EXPERIMENTS/char.groff:8: warning: special character 'dg' not
defined
x font 1 R
f1
s10
V40
H240
md
DFd
tu2020:
wh24
n40 0
V80
H240
tdg:
wh24
n40 0
x trailer
V2640
x stop



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63332>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]