troff: warning: cannot select font 'C' when viewing man page

Bug #2054670 reported by Dominik Viererbe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unzip (Ubuntu)
Fix Released
Undecided
Dominik Viererbe
Mantic
Won't Fix
Undecided
Unassigned
Noble
Fix Released
Undecided
Dominik Viererbe

Bug Description

When viewing any man page the following warning is displayed:
troff: warning: cannot select font 'C'

Run any of the following commands to see the warnings yourself:
$ man funzip > /dev/null
$ man unzip > /dev/null
$ man unzipsfx > /dev/null
$ man zipgrep > /dev/null
$ man zipinfo > /dev/null

This is a new warning. Other projects replaced the \fC directives with nothing, as it is currently a no-op.

Context: \fC sets the font to a monospace font. The terminal can not change the font to any other font than a monospace font. Therefore removing the \C directives should result in no visual change.

I already prepare a patch.

Related branches

Revision history for this message
Dominik Viererbe (dviererbe) wrote :

I still have to confirm the bug for other Ubuntu series than mantic or noble.

Changed in unzip (Ubuntu):
status: New → In Progress
assignee: nobody → Dominik Viererbe (dviererbe)
Changed in unzip (Ubuntu Mantic):
status: New → Confirmed
Revision history for this message
Dominik Viererbe (dviererbe) wrote :

Jammy seems not to be affected

Changed in unzip (Ubuntu Noble):
status: In Progress → Fix Committed
Revision history for this message
Dominik Viererbe (dviererbe) wrote :

I think fixing this for mantic is not worth it.

Changed in unzip (Ubuntu Mantic):
status: Confirmed → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unzip - 6.0-28ubuntu3

---------------
unzip (6.0-28ubuntu3) noble; urgency=medium

  * d/t/*: Added autopkgtest (LP: #2023994)
  * d/p/29-fix-troff-warning.patch:
    Removes monospace directives to fix troff warnings (LP: #2054670)
  * d/p/20-unzip60-alt-iconv-utf8.patch
    * Refreshed as ab-style patch.
    * Added documentation for `-I` and `-O` options to `unzip -hh`.
    * Added documentation for `-I` and `-O` options to unzip (man/unzip.1) and
      zipinfo (man/zipinfo.1) man pages (LP: #138307).
    * Fixed garbled output when `zipinfo` or `unzip -Z` is called
      without arguments (LP: #1429939).

 -- Dominik Viererbe <email address hidden> Thu, 22 Feb 2024 02:48:49 +0200

Changed in unzip (Ubuntu Noble):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.