GNOME Bugzilla – Bug 761471
Do not allow ligatures in log output
Last modified: 2016-09-05 13:45:53 UTC
Created attachment 320290 [details] Unwanted ligatures Please, do not allow ligatures, such as "fi" for "fi", in log output. This is a common problem these days with many monospaced rendering and has to be disabled explicitly. See attachment for example.
I don't see this behavior on my, Window 7, system. From the code I see: m_outputLog = new QTextEdit; m_outputLog->setReadOnly(true); m_outputLog->setFontFamily(QString::fromLatin1("courier")); So my guess is that the courier font cannot be found in your case. Which platform are you using?
Ubuntu latest and I have that font. This is a common default setting on (HTML) text rendering that is highly undesirable when displaying text in monospaced font. That it shows fi ligatures indicates that there is very good font support, as these are special font features. In CSS, this is fixed by style='font-family: courier; -o-font-feature-settings: "liga" off; -o-font-variant-ligatures: none; -moz-font-feature-settings: "liga" off; -moz-font-variant-ligatures: none; -webkit-font-feature-settings: "liga" off; -webkit-font-variant-ligatures: none; font-feature-settings: "liga" off; font-variant-ligatures: none; '
@Pander: Maybe it would be a fix to use m_outputLog = new QPlainTextEdit instead of m_outputLog = new QTextEdit. in addon/doxywizard/doxywizard.cpp Can you try if that helps?
For this project, I am only a user. Please ask somebody else to reproduce and confirm the proposed fix. Thanks.
On RHEL6 this problem didn't show but the text was displayed in italics. Changing to QPlainTextEdit didn't solve the problem. With QTextBrowser it was possible to overcome the problem. I've just pushed a proposed patch to github (pull request 451)
Code has been integrated in master branch on github
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.12. 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 (preferably in the form of a self-contained example).