Control: reassign -1 python3-docutils Control: affects -1 groff-base Control: retitle -1 rst2man: uses non-portable 'C' font, causing warnings from groff >= 1.23.0
On Sun, Jul 23, 2023 at 07:09:51PM +0000, Peter Wienemann wrote: > I see troff warnings "cannot select font 'C'" for several man pages. Here are > the corresponding Lintian warnings for two examples from different packages: > > W: python3-lark: groff-message troff:<standard input>:1032: warning: cannot > select font 'C' [usr/share/man/man7/lark.7.gz:28] > [more similar lines] > > and > > W: charliecloud-builders: groff-message troff:<standard input>:1066: warning: > cannot select font 'C' [usr/share/man/man1/ch-image.1.gz:15] > [more similar lines] No groff output device has a C font, so this is very probably a typo, or perhaps a reference to some other *roff system. In this case, these pages all seem to be generated by "rst2man" from the python3-docutils package, so I'm reassigning this there. https://gitlab.com/man-db/man-db/-/issues/26, and in particular https://gitlab.com/man-db/man-db/uploads/e7434daee5d71e37ec4cbcce892abdc5/0001-Improve-lexgrog-1-portability.patch, might be a useful reference here. This sort of relatively complicated thing is ideal for fixing properly in manual page generators so that it only has to be done in a much smaller number of places. > This issue looks similar to > > https://bugs.debian.org/1040975 The warning was made visible by the same upstream change, yes. However, the CW font at least exists in one groff device (dvi); the C font does not. As a result, I'm somewhat less inclined to work around it. Thanks, -- Colin Watson (he/him) [cjwat...@debian.org]