bugGNU roff - Bugs: bug #66126, [mdoc] should remap monospaced...

 
 

bug #66126: [mdoc] should remap monospaced font names on "dvi" (or "lbp") devices

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Mon 26 Aug 2024 12:33:14 AM UTC
   
 
Category:  Macro package mdoc Severity:  4 - Important
Item Group:  Incorrect behaviour Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 03 May 2025 11:25:18 AM UTC, comment #3: 

Kicking up to "important" severity due to the regression.

G. Branden Robinson <gbranden>
Group administrator
Sat 03 May 2025 07:54:26 AM UTC, comment #2: 

On the dvi device at least, groff Git HEAD has regressed this from groff 1.23.0.

The lbp device is hard to test.  Hardware is scarce and no interpreter/simulator is known to me.

G. Branden Robinson <gbranden>
Group administrator
Mon 26 Aug 2024 01:14:22 AM UTC, comment #1: 


troff:groff_mdoc.7:220: warning: asked for a font family instead of the font itself


That appears to be a Bjarnigroff diagnostic, not a GNU groff one.  I will take no action regarding it.

The remainder can, I think, be remedied analogously to this bit of business we had to do in man(7).

In mdoc we probably don't want to tuck the font remappings (and un-remappings) inside macro definitions, but apply them globally due to mdoc's pervasive per-macro font customization feature.

While we're at it, might as well cope with the similar "lbp" problem.


G. Branden Robinson <gbranden>
Group administrator
Mon 26 Aug 2024 12:33:14 AM UTC, original submission:  

Subject: [mdoc] "dvi.tmac" causes errors and warnings

File: build/tmac/groff_mdoc.7

"test-groff -mandoc -Tdvi -ww -b -z groff_mdoc.7" produces a lot of errors
and warnings of one type each:

troff: backtrace: '/home/bg/git/groff/build/../tmac/mdoc/doc-ditroff':262: string 'doc-quote-left'
troff: backtrace: '/home/bg/git/groff/build/../tmac/doc.tmac':1708: macro 'doc-enclose-string'
troff: backtrace: '/home/bg/git/groff/build/../tmac/mdoc/doc-ditroff':265: macro 'Ql'
troff: backtrace: file 'groff_mdoc.7':220
troff:groff_mdoc.7:220: error: no font family named 'C' exists

troff: backtrace: '/home/bg/git/groff/build/../tmac/mdoc/doc-ditroff':262: string 'doc-quote-left'
troff: backtrace: '/home/bg/git/groff/build/../tmac/doc.tmac':1708: macro 'doc-enclose-string'
troff: backtrace: '/home/bg/git/groff/build/../tmac/mdoc/doc-ditroff':265: macro 'Ql'
troff: backtrace: file 'groff_mdoc.7':220
troff:groff_mdoc.7:220: warning: asked for a font family instead of the font itself


Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-05-03 gbranden Dependencies- bugs #65099 is dependent
    2025-05-03 gbranden Severity3 - Normal 4 - Important
    2025-05-03 gbranden Item GroupWarning/Suspicious behaviour Incorrect behaviour
    2024-08-26 gbranden StatusNone Confirmed
        Summary[mdoc] &quot;dvi.tmac&quot; causes errors and warnings [mdoc] should remap monospaced font names on "dvi" (or "lbp") devices

    Back to the top

    Powered by Savane 3.15-4cd8.
    Corresponding source code