aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ImageViewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ImageViewer.cpp b/src/ImageViewer.cpp
index 0f9e84e..f60e796 100644
--- a/src/ImageViewer.cpp
+++ b/src/ImageViewer.cpp
@@ -37,7 +37,7 @@ namespace QuickMedia {
chapter_cache_dir(chapter_cache_dir),
focused_page(current_page),
font(FontLoader::get_font(FontLoader::FontType::LATIN)),
- page_text("", *FontLoader::get_font(FontLoader::FontType::LATIN), 14),
+ page_text("", *FontLoader::get_font(FontLoader::FontType::LATIN), 14 * get_ui_scale() * get_font_scale()),
fit_image_to_window(fit_image_to_window)
{
current_page = std::min(current_page, num_pages);