Skip to content

Commit 28cda46

Browse files
committed
Problem with \fC on man pages
In phmarek/fsvs#19 "uses non-portable 'C' font, causing warnings from groff" this problem was menioned and it can be reproduced by means of: ``` /// \file /// the file description /// The function description /// /// some `description` void fie(); ``` and when giving: `man man/ma3/aa.h.3 > /dev/null` we get: ``` troff:<standard input>:24: warning: cannot select font 'C' ``` The chosen way is the least intrusive, an alternative would have been to change all occurences of `\fC` to `\fR` (i.e. to the regular font).
1 parent 351dba6 commit 28cda46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mangen.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ static QCString buildFileName(const QCString &name)
318318
void ManGenerator::startFile(const QCString &,const QCString &manName,const QCString &,int,int)
319319
{
320320
startPlainFile( buildFileName( manName ) );
321+
m_t << ".do ftr C R\n";
321322
m_firstCol=TRUE;
322323
}
323324

0 commit comments

Comments
 (0)