diff options
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp index fb52dc51..732bb273 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -448,7 +448,10 @@ void Application::updateConfiguration() int minimumFontSize = ReKonfig::minFontSize(); float toPix = mainWindow()->currentTab()->view()->logicalDpiY()/72.0; - + + if (toPix < 96.0/72.0) + toPix = 96.0/72.0; + defaultSettings->setFontSize(QWebSettings::DefaultFontSize, qRound(defaultFontSize * toPix) ); defaultSettings->setFontSize(QWebSettings::MinimumFontSize, qRound(minimumFontSize * toPix) ); |