bug-groff
[Top][All Lists]
Advanced

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

[bug #64141] [troff] emboldening request `bd` is broken


From: G. Branden Robinson
Subject: [bug #64141] [troff] emboldening request `bd` is broken
Date: Wed, 3 May 2023 17:11:52 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64141>

                 Summary: [troff] emboldening request `bd` is broken
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Wed 03 May 2023 09:11:50 PM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 03 May 2023 09:11:50 PM UTC By: G. Branden Robinson <gbranden>
Input:


.\" groff calls the PostScript device's default font "TR'.
.\" DWB 3.3 troff called it simply "R", because it didn't group
.\" fonts into families.
.ie \n(.g .ds ft TR\"
.el       .ds ft R\"
.bd \*(ft 3
.tm by name: .b=\n(.b
.bd 1 3
.tm by position: .b=\n(.b


DWB 3.3 troff output:


$ DWBHOME=. ./bin/troff ./embolden.roff >/dev/null
by name: .b=3
by position: .b=3


groff 1.22.4 output:


$ groff EXPERIMENTS/embolden.roff 
by name: .b=0
by position: .b=0


groff Git HEAD output:

$ ./build/test-groff -ww EXPERIMENTS/embolden.roff 
troff:EXPERIMENTS/embolden.roff:6: warning: numeric expression missing
by name: .b=0
troff:EXPERIMENTS/embolden.roff:8: warning: numeric expression missing
by position: .b=0


(The -ww flag makes no difference in groff 1.22.4.  groff Git complains
more.)

This promises to have been broken for a long, long time.
-verbatim-








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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