From 77dd1f3b7a7c420999bb1f77e2f8f17ff7dbb53c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 26 May 2020 21:23:38 +0100 Subject: [PATCH] Set the font family when applying custom font --- theme.py | 1 + 1 file changed, 1 insertion(+) diff --git a/theme.py b/theme.py index 1da7a766..c4a96d5b 100644 --- a/theme.py +++ b/theme.py @@ -136,6 +136,7 @@ def setCustomFont(baseDir: str): customFontExt + "') format('" + customFontType + "')") + css = setCSSparam(css, "*font-family", "'CustomFont'") filename = baseDir + '/' + filename with open(filename, 'w') as cssfile: cssfile.write(css)