D23866: Port from KHTML to QtWebEngine
Laurent Montel
noreply at phabricator.kde.org
Wed Sep 11 12:10:00 BST 2019
mlaurent added a comment.
You removed font settings dialog.
But we can add default font as it:
const QFontInfo font(QFontDatabase().systemFont(QFontDatabase::GeneralFont));
settings()->setFontFamily(QWebEngineSettings::StandardFont, font.family());
settings()->setFontSize(QWebEngineSettings::DefaultFontSize, font.pixelSize());
REPOSITORY
R125 KHelpCenter
REVISION DETAIL
https://phabricator.kde.org/D23866
To: svuorela, vkrause, dfaure, carewolf, pino, ltoscano, lbeltrame, lueck, clauschristensen, cordlandwehr, mlaurent
Cc: kde-doc-english, gennad, fbampaloukas, skadinna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-doc-english/attachments/20190911/a5a9912b/attachment.html>
More information about the kde-doc-english
mailing list