GNOME Bugzilla – Bug 652276
Typedefs in manpages has too few linebreak possiblilities
Last modified: 2014-12-25 16:03:09 UTC
The following markup: /** * @defgroup mytypes My types * @{ */ /** * This typedef will become a very long line in the man page that can not be * broken properly. */ typedef void(*myTypes_Function_Type_With_A_Long_Name) (myTypes_Other_Type_With_A_Long_Name *first, void *second); /** * @} */ Generates a manpage that contains the line: .SS "typedef void(* \fBmyTypes_Function_Type_With_A_Long_Name\fP)(myTypes_Other_Type_With_A_Long_Name *first, void *second)"This typedef will become a very long line in the man page that can not be broken properly. When displayed using man this will not fit on a standard 80 column screen It is not a very common problem, but it happens often enough that it is annoying. A better display would be achieved if there was a space between the )( in the man page output: .SS "typedef void(* \fBmyTypes_Function_Type_With_A_Long_Name\fP) (myTypes_Other_Type_With_A_Long_Name *first, void *second)"This typedef will become a very long line in the man page that can not be broken properly. I think this would be easier to read also for the types that do fit on one line.
Any news of this bug ?
https://github.com/doxygen/doxygen/pull/214
Thanks, I've merged the pull request.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.9. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferrably in the form of a self-contained example).