<table><tr><td style="">antonanikin added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D2902" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>System font settings applied only for UI elements, not for <tt style="background: #ebebeb; font-size: 13px;">QWebView</tt> therefore any web browser has own font settings dialog. The system font is usually a Sans Serif font, but HTML engines also requires Serif font settings for "normal quality" rendering. And last - same font size setting (12 e.g.) for UI and Web-content produces fonts which are not equals (Web font is smaller).</p>

<p>The simplest way to "fix" documentation fonts - only increase it's size to "normal" values (according with current system font size). But then we have the problem - default font families for Sans, Serif Serif and Monospace fonts. My test shows that <tt style="background: #ebebeb; font-size: 13px;">QWebView</tt> gets font families from <tt style="background: #ebebeb; font-size: 13px;">fontconfig</tt> (e.g. <tt style="background: #ebebeb; font-size: 13px;">fc-match monospace</tt>) and ignores KDE's System Settings. But most of users don't change <tt style="background: #ebebeb; font-size: 13px;">fontconfig</tt> settings - as a result we have default Sans Serif font from <tt style="background: #ebebeb; font-size: 13px;">fontconfig</tt> which is used by <tt style="background: #ebebeb; font-size: 13px;">QWebView</tt>, selected by user Sans Serif system font and different font sizes for UI and HTML-content.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKDEVPLATFORM KDevPlatform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D2902" rel="noreferrer">https://phabricator.kde.org/D2902</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>antonanikin, KDevelop<br /><strong>Cc: </strong>apol, kdevelop-devel<br /></div>