Add PDF format

This commit is contained in:
Veronica Berglyd Olsen
2024-10-16 17:25:46 +02:00
parent c8d7ccadb7
commit 17c93c2172
7 changed files with 74 additions and 72 deletions
+3 -1
View File
@@ -211,7 +211,9 @@ class GuiDocViewer(QTextBrowser):
qDoc = ToQTextDocument(SHARED.project)
qDoc.setJustify(CONFIG.doJustify)
qDoc.setDialogueHighlight(True)
qDoc.initDocument(CONFIG.textFont, self._docTheme)
qDoc.setFont(CONFIG.textFont)
qDoc.setTheme(self._docTheme)
qDoc.initDocument()
qDoc.setKeywords(True)
qDoc.setComments(CONFIG.viewComments)
qDoc.setSynopsis(CONFIG.viewSynopsis)