Merge pull request #237 from maharmstone/master

stdHtml: fix certain fonts not working on Linux
This commit is contained in:
Damien Elmes 2018-05-28 12:15:43 +10:00 committed by GitHub
commit 4cee52a994
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,7 +225,7 @@ border-radius:5px; font-family: Helvetica }"""
else:
buttonspec = ""
family = self.font().family()
fontspec = 'font-size:14px;font-family:%s;'%\
fontspec = 'font-size:14px;font-family:"%s";'%\
family
csstxt = "\n".join([self.bundledCSS("webview.css")]+
[self.bundledCSS(fname) for fname in css])