disable embedded fonts on osx

This commit is contained in:
Damien Elmes 2014-09-27 10:26:14 +09:00
parent f3fd5fb2fe
commit 6b65cfc08f

View file

@ -331,6 +331,10 @@ def mungeQA(col, txt):
txt = stripSounds(txt)
# osx webkit doesn't understand font weight 600
txt = re.sub("font-weight: *600", "font-weight:bold", txt)
if isMac:
# custom fonts cause crashes on osx at the moment
txt = txt.replace("font-face", "invalid")
return txt
def applyStyles(widget):