mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
E-book viewer: Fix header/footer text size too small when using multiple monitors and the primary monitors DPI is much less than secondary monitor DPI. Fixes #2097563 [Header and Footer text in eBook Viewer Illegible on 4k monitor](https://bugs.launchpad.net/calibre/+bug/2097563)
This commit is contained in:
parent
161000b587
commit
bd10c248a0
@ -661,7 +661,7 @@ class WebView(RestartingWebEngineView):
|
||||
ui_data = {
|
||||
'all_font_families': QFontDatabase.families(),
|
||||
'ui_font_family': family,
|
||||
'ui_font_sz': f'{fi.pixelSize()}px',
|
||||
'ui_font_sz': f'{fi.pointSizeF()}pt',
|
||||
'show_home_page_on_ready': self.show_home_page_on_ready,
|
||||
'system_colors': system_colors(),
|
||||
'QT_VERSION': QT_VERSION,
|
||||
|
Loading…
x
Reference in New Issue
Block a user