mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 13:22:45 +02:00
...
This commit is contained in:
parent
9805f3a644
commit
371e5f9813
1 changed files with 1 additions and 1 deletions
|
|
@ -435,7 +435,7 @@ class HTMLDisplay(QTextBrowser):
|
|||
def __init__(self, parent=None):
|
||||
QTextBrowser.__init__(self, parent)
|
||||
font = self.font()
|
||||
f = QFontInfo(self.font())
|
||||
f = QFontInfo(font)
|
||||
delta = tweaks['change_book_details_font_size_by'] + 1
|
||||
if delta:
|
||||
font.setPixelSize(f.pixelSize() + delta)
|
||||
|
|
|
|||
Loading…
Reference in a new issue