mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
stdHtml: fix certain fonts not working on Linux
This commit is contained in:
parent
478d244a4f
commit
40612c5329
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ border-radius:5px; font-family: Helvetica }"""
|
||||||
else:
|
else:
|
||||||
buttonspec = ""
|
buttonspec = ""
|
||||||
family = self.font().family()
|
family = self.font().family()
|
||||||
fontspec = 'font-size:14px;font-family:%s;'%\
|
fontspec = 'font-size:14px;font-family:"%s";'%\
|
||||||
family
|
family
|
||||||
csstxt = "\n".join([self.bundledCSS("webview.css")]+
|
csstxt = "\n".join([self.bundledCSS("webview.css")]+
|
||||||
[self.bundledCSS(fname) for fname in css])
|
[self.bundledCSS(fname) for fname in css])
|
||||||
|
|
Loading…
Reference in a new issue