From 1443185d8df4544904ff456564b2c42484a67607 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 26 Oct 2020 17:10:04 +0000 Subject: [PATCH] Add italic font --- theme.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/theme.py b/theme.py index bda479354..69c54d30e 100644 --- a/theme.py +++ b/theme.py @@ -948,6 +948,8 @@ def setThemeIndymediaModern(baseDir: str): name = 'indymediamodern' fontStr = \ "url('./fonts/NimbusSanL.otf') format('opentype')" + fontStrItalic = \ + "url('./fonts/NimbusSanL-italic.otf') format('opentype')" themeParams = { "container-button-padding": "0px", "container-button-margin": "0px", @@ -1023,7 +1025,8 @@ def setThemeIndymediaModern(baseDir: str): "title-background": "#ccc", "gallery-text-color": "black", "*font-family": "'NimbusSanL'", - "*src": fontStr + "*src": fontStr, + "**src": fontStrItalic } bgParams = { "login": "jpg",