Skip to content
Snippets Groups Projects
Commit 80bb47d2 authored by Teo Mrnjavac's avatar Teo Mrnjavac
Browse files

Make fonts prettier on QtWebKit.

parent 831e2be3
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,16 @@ WebViewStep::WebViewStep( QObject* parent )
{
emit nextStatusChanged( true );
m_view = new C_QWEBVIEW();
#ifdef WEBVIEW_WITH_WEBKIT
m_view->settings()->setFontFamily( QWebSettings::StandardFont,
m_view->settings()->
fontFamily( QWebSettings::SansSerifFont ) );
m_view->setRenderHints( QPainter::Antialiasing |
QPainter::TextAntialiasing |
QPainter::HighQualityAntialiasing |
QPainter::SmoothPixmapTransform |
QPainter::NonCosmeticDefaultPen );
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment