From b2340611f25c4fcf4dc281a35e77394a02a83fcc Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 18 Sep 2014 13:25:52 +0200 Subject: [PATCH] Allow - in font names. --- qutebrowser/config/configtypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/config/configtypes.py b/qutebrowser/config/configtypes.py index 82b94ee3c..c50094a93 100644 --- a/qutebrowser/config/configtypes.py +++ b/qutebrowser/config/configtypes.py @@ -657,7 +657,7 @@ class Font(BaseType): (?P[0-9]+((\.[0-9]+)?[pP][tT]|[pP][xX])) )\ # size/weight/style are space-separated )* # 0-inf size/weight/style tags - (?P[A-Za-z, "]*)$ # mandatory font family""", re.VERBOSE) + (?P[A-Za-z, "-]*)$ # mandatory font family""", re.VERBOSE) def validate(self, value): if not value: