Skip to content

pod2man uses CW font, no longer enabled in groff by default #21239

Closed
@puck

Description

@puck

In groff v1.23 which was released this month, the CW font is disabled by default as we discovered in Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040975 . It appears to be this commit https://git.savannah.gnu.org/cgit/groff.git/commit/?id=15f8188656ef0ebed797eb5981b012b590fc77ad which disabled CW and this commit shows how to re-enable it: https://git.savannah.gnu.org/cgit/groff.git/commit/?id=5278dee79a180a453a73d54ec4cc7e164dafcdd5 .

Running pod2man with groff v1.23 I now get these warnings:

puck@dirk:~$ pod2man /usr/share/perl/5.36.0/version.pod | nroff -man | grep CW          
troff:<standard input>:145: warning: cannot select font 'CW'
troff:<standard input>:182: warning: cannot select font 'CW'
troff:<standard input>:191: warning: cannot select font 'CW'
troff:<standard input>:205: warning: cannot select font 'CW'
troff:<standard input>:207: warning: cannot select font 'CW'
...

While we have resolved this in Debian for now by re-enabling CW, this may hit other operating systems.

It seems that pod2man should use a different font than CW, perhaps R?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions