conftypes: Set default settings for QtFont.
This commit is contained in:
parent
c8fe5bd1d2
commit
e3f1cfe121
@ -685,6 +685,9 @@ class QtFont(Font):
|
|||||||
'bold': QFont.Bold,
|
'bold': QFont.Bold,
|
||||||
}
|
}
|
||||||
font = QFont()
|
font = QFont()
|
||||||
|
font.setStyle(QFont.StyleNormal)
|
||||||
|
font.setWeight(QFont.Normal)
|
||||||
|
|
||||||
match = self.font_regex.match(value)
|
match = self.font_regex.match(value)
|
||||||
style = match.group('style')
|
style = match.group('style')
|
||||||
weight = match.group('weight')
|
weight = match.group('weight')
|
||||||
|
Loading…
Reference in New Issue
Block a user