Save all font info for text font
This commit is contained in:
@@ -474,7 +474,7 @@ class GuiDocHighlighter(QSyntaxHighlighter):
|
||||
charFormat.setBackground(QBrush(color, Qt.BrushStyle.SolidPattern))
|
||||
|
||||
if size:
|
||||
charFormat.setFontPointSize(round(size*CONFIG.textSize))
|
||||
charFormat.setFontPointSize(round(size*CONFIG.textFont.pointSize()))
|
||||
|
||||
self._hStyles[name] = charFormat
|
||||
|
||||
|
||||
Reference in New Issue
Block a user