I found this is possible in Doxygen 1.8.9.1, using a small workaround job.
- Create a custom header.tex file for use with Doxygen. (Instructions)
- Find the line in the header.tex file that starts
\newcommand{\+}
. If you don't find that text, insert an empty line towards the top of the document.
Replace that line with the following text:
\newcommand{\+}{}
Use the header.tex file with your Doxygen output (Instructions)
This effectively disables all of the hyphenation marks that Doxygen adds to the
words.
NOTES: This is for words with \+
added (e.g. D\+O\+X\+Y\+G\+E\+N
). It may work for \-
if you just substitute the minus sign into the steps above, but I have not verified that.
I found some itentifiers to still be hyphenated after applying this, but in more reasonable places.
Also, do watch out for text running into the margins, as noted by @doxygen.