From 40612c5329e8158c1b6913e5ba54ee7b7cbb11f2 Mon Sep 17 00:00:00 2001 From: Mark Harmstone Date: Sun, 27 May 2018 21:16:55 +0100 Subject: [PATCH] stdHtml: fix certain fonts not working on Linux --- aqt/webview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/webview.py b/aqt/webview.py index d2d1e8b6d..e850cf9fe 100644 --- a/aqt/webview.py +++ b/aqt/webview.py @@ -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])