From 53d23bbaf257c588409825ff50857c02b43dd407 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 3 Sep 2021 01:54:30 +0200 Subject: Scale imageviewer font by ui and font scale --- src/ImageViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3