Skip to content

uses non-portable 'C' font, causing warnings from groff #19

Open

Description

@sudipm-mukherjee

Debian now uses groff v1.23.0 and latest groff has added warnings for non-portable fonts.

Steps to reproduce:

  1. Use Debian Testing image or Ubunto Mantic
  2. man fsvs.1 >/dev/null

It will show lots of warnings like:

troff:<standard input>:1259: warning: cannot select font 'C'
troff:<standard input>:1261: warning: cannot select font 'C'
troff:<standard input>:1265: warning: cannot select font 'C'

More details can be seen at https://savannah.gnu.org/bugs/index.php?64594

Activity

  1. phmarek commented on Dec 19, 2023

    @phmarek
    Owner

    Yeah, well, that's what doxygen gives me.

    Should we extend src/tools/man-repair.pl to add the .if \n(.g .if n \{\ block? Or what do you suggest?

  2. albert-github commented on Dec 19, 2023

    @albert-github
    Contributor

    Yeah, well, that's what doxygen gives me.

    • What sources do you give to doxygen and what settings do you use?
    • What would be the correct syntax?
  3. phmarek commented on Dec 19, 2023

    @phmarek
    Owner

    See https://github.com/phmarek/fsvs/blob/master/src/Makefile.in#L103, just run make docs.

    No idea about the correct syntax -- the referenced bug report recommends

     .\" Automatically generated by Pandoc IN AN IMAGINED FUTURE
    .\"
    .\" Remap Courier family to bold styles on terminals for
    .\" visibility inline.
    .if \n(.g .if n \{\
    . do ftr CR B
    . do ftr CI BI
    . do ftr CB B
    . do ftr CBI BI
    .\}
    

    Perhaps it would be enough to add that in the man pages?

  4. albert-github commented on Dec 19, 2023

    @albert-github
    Contributor

    I don't think remapping to bold is a good idea, as the bold font is already used for highlighting some words and would make the page not well readable. Furthermore \fC is used. Maybe even removing \fC completely is a better solution.

    Probably best to create an issue in the doxygen issue tracker at https://github.com/doxygen/doxygen/issues

  5. added a commit that references this issue on Dec 19, 2023
  6. albert-github commented on Dec 19, 2023

    @albert-github
    Contributor

    I've just pushed a proposed patch, pull request doxygen/doxygen#10497

  7. albert-github commented on Dec 20, 2023

    @albert-github
    Contributor

    Code has been integrated in master on GitHub, though there is a report that on a Mac there is a problem with mandoc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions