diff --git a/fonts/Absortile-Bold.ttf b/fonts/Absortile-Bold.ttf deleted file mode 100644 index ed066b0d..00000000 Binary files a/fonts/Absortile-Bold.ttf and /dev/null differ diff --git a/fonts/Absortile-Bold.woff2 b/fonts/Absortile-Bold.woff2 new file mode 100644 index 00000000..807ed227 Binary files /dev/null and b/fonts/Absortile-Bold.woff2 differ diff --git a/fonts/Absortile.ttf b/fonts/Absortile.ttf deleted file mode 100644 index 86367779..00000000 Binary files a/fonts/Absortile.ttf and /dev/null differ diff --git a/fonts/Absortile.woff2 b/fonts/Absortile.woff2 new file mode 100644 index 00000000..94512b36 Binary files /dev/null and b/fonts/Absortile.woff2 differ diff --git a/fonts/CheGuevaraTextSans-Regular.ttf b/fonts/CheGuevaraTextSans-Regular.ttf deleted file mode 100644 index 38d865a0..00000000 Binary files a/fonts/CheGuevaraTextSans-Regular.ttf and /dev/null differ diff --git a/fonts/CheGuevaraTextSans-Regular.woff2 b/fonts/CheGuevaraTextSans-Regular.woff2 new file mode 100644 index 00000000..510298c8 Binary files /dev/null and b/fonts/CheGuevaraTextSans-Regular.woff2 differ diff --git a/fonts/Domestic_Manners.ttf b/fonts/Domestic_Manners.ttf deleted file mode 100644 index 31bac14c..00000000 Binary files a/fonts/Domestic_Manners.ttf and /dev/null differ diff --git a/fonts/Domestic_Manners.woff2 b/fonts/Domestic_Manners.woff2 new file mode 100644 index 00000000..c62f3024 Binary files /dev/null and b/fonts/Domestic_Manners.woff2 differ diff --git a/fonts/Edition.ttf b/fonts/Edition.ttf deleted file mode 100644 index 57f2b3cc..00000000 Binary files a/fonts/Edition.ttf and /dev/null differ diff --git a/fonts/Edition.woff2 b/fonts/Edition.woff2 new file mode 100644 index 00000000..671bee4e Binary files /dev/null and b/fonts/Edition.woff2 differ diff --git a/fonts/GeneralFailureRegular.ttf b/fonts/GeneralFailureRegular.ttf deleted file mode 100644 index 676c0a19..00000000 Binary files a/fonts/GeneralFailureRegular.ttf and /dev/null differ diff --git a/fonts/GeneralFailureRegular.woff2 b/fonts/GeneralFailureRegular.woff2 new file mode 100644 index 00000000..336a276e Binary files /dev/null and b/fonts/GeneralFailureRegular.woff2 differ diff --git a/fonts/LcdSolid.ttf b/fonts/LcdSolid.ttf deleted file mode 100644 index 808f3ee3..00000000 Binary files a/fonts/LcdSolid.ttf and /dev/null differ diff --git a/fonts/LcdSolid.woff2 b/fonts/LcdSolid.woff2 new file mode 100644 index 00000000..191af02a Binary files /dev/null and b/fonts/LcdSolid.woff2 differ diff --git a/fonts/LinBiolinum_Kah.ttf b/fonts/LinBiolinum_Kah.ttf deleted file mode 100644 index 8c291938..00000000 Binary files a/fonts/LinBiolinum_Kah.ttf and /dev/null differ diff --git a/fonts/LinBiolinum_Kah.woff2 b/fonts/LinBiolinum_Kah.woff2 new file mode 100644 index 00000000..af853d44 Binary files /dev/null and b/fonts/LinBiolinum_Kah.woff2 differ diff --git a/fonts/LinBiolinum_RBah.ttf b/fonts/LinBiolinum_RBah.ttf deleted file mode 100644 index a9838509..00000000 Binary files a/fonts/LinBiolinum_RBah.ttf and /dev/null differ diff --git a/fonts/LinBiolinum_RBah.woff2 b/fonts/LinBiolinum_RBah.woff2 new file mode 100644 index 00000000..dc24784d Binary files /dev/null and b/fonts/LinBiolinum_RBah.woff2 differ diff --git a/fonts/LinBiolinum_RIah.ttf b/fonts/LinBiolinum_RIah.ttf deleted file mode 100644 index 10739555..00000000 Binary files a/fonts/LinBiolinum_RIah.ttf and /dev/null differ diff --git a/fonts/LinBiolinum_RIah.woff2 b/fonts/LinBiolinum_RIah.woff2 new file mode 100644 index 00000000..49a884da Binary files /dev/null and b/fonts/LinBiolinum_RIah.woff2 differ diff --git a/fonts/LinBiolinum_Rah.ttf b/fonts/LinBiolinum_Rah.ttf deleted file mode 100644 index 0e92fe46..00000000 Binary files a/fonts/LinBiolinum_Rah.ttf and /dev/null differ diff --git a/fonts/LinBiolinum_Rah.woff2 b/fonts/LinBiolinum_Rah.woff2 new file mode 100644 index 00000000..28fd920e Binary files /dev/null and b/fonts/LinBiolinum_Rah.woff2 differ diff --git a/fonts/MarginaliaRegular.ttf b/fonts/MarginaliaRegular.ttf deleted file mode 100644 index 27dfc90c..00000000 Binary files a/fonts/MarginaliaRegular.ttf and /dev/null differ diff --git a/fonts/MarginaliaRegular.woff2 b/fonts/MarginaliaRegular.woff2 new file mode 100644 index 00000000..51184c4d Binary files /dev/null and b/fonts/MarginaliaRegular.woff2 differ diff --git a/fonts/RailModel.ttf b/fonts/RailModel.ttf deleted file mode 100644 index 35a283c4..00000000 Binary files a/fonts/RailModel.ttf and /dev/null differ diff --git a/fonts/RailModel.woff2 b/fonts/RailModel.woff2 new file mode 100644 index 00000000..11998db4 Binary files /dev/null and b/fonts/RailModel.woff2 differ diff --git a/fonts/SubZER0.ttf b/fonts/SubZER0.ttf deleted file mode 100644 index 92fec3b9..00000000 Binary files a/fonts/SubZER0.ttf and /dev/null differ diff --git a/fonts/SubZER0.woff2 b/fonts/SubZER0.woff2 new file mode 100644 index 00000000..5ed790bc Binary files /dev/null and b/fonts/SubZER0.woff2 differ diff --git a/fonts/SundownerRegular.ttf b/fonts/SundownerRegular.ttf deleted file mode 100644 index 0f7f9059..00000000 Binary files a/fonts/SundownerRegular.ttf and /dev/null differ diff --git a/fonts/SundownerRegular.woff2 b/fonts/SundownerRegular.woff2 new file mode 100644 index 00000000..6b2e4ae6 Binary files /dev/null and b/fonts/SundownerRegular.woff2 differ diff --git a/fonts/Warenhaus-Standard.ttf b/fonts/Warenhaus-Standard.ttf deleted file mode 100644 index f10df1e9..00000000 Binary files a/fonts/Warenhaus-Standard.ttf and /dev/null differ diff --git a/fonts/Warenhaus-Standard.woff2 b/fonts/Warenhaus-Standard.woff2 new file mode 100644 index 00000000..0bb78f4a Binary files /dev/null and b/fonts/Warenhaus-Standard.woff2 differ diff --git a/fonts/bgrove.ttf b/fonts/bgrove.ttf deleted file mode 100644 index 9f2d056f..00000000 Binary files a/fonts/bgrove.ttf and /dev/null differ diff --git a/fonts/bgrove.woff2 b/fonts/bgrove.woff2 new file mode 100644 index 00000000..454be101 Binary files /dev/null and b/fonts/bgrove.woff2 differ diff --git a/fonts/bgroveb.ttf b/fonts/bgroveb.ttf deleted file mode 100644 index 5fd227d3..00000000 Binary files a/fonts/bgroveb.ttf and /dev/null differ diff --git a/fonts/bgroveb.woff2 b/fonts/bgroveb.woff2 new file mode 100644 index 00000000..7291221a Binary files /dev/null and b/fonts/bgroveb.woff2 differ diff --git a/theme.py b/theme.py index e5b91cca..1dc49d0f 100644 --- a/theme.py +++ b/theme.py @@ -176,7 +176,7 @@ def setThemeBlue(baseDir: str): "hashtag-vertical-spacing4": "150px", "time-vertical-align": "-10px", "*font-family": "'Domestic_Manners'", - "*src": "url('./fonts/Domestic_Manners.ttf') format('truetype')" + "*src": "url('./fonts/Domestic_Manners.woff2') format('woff2')" } setThemeFromDict(baseDir, 'blue', themeParams) @@ -185,7 +185,7 @@ def setThemeNight(baseDir: str): removeTheme(baseDir) setThemeInConfig(baseDir, 'night') fontStr = \ - "url('./fonts/CheGuevaraTextSans-Regular.ttf') format('truetype')" + "url('./fonts/CheGuevaraTextSans-Regular.woff2') format('woff2')" themeParams = { "font-size-button-mobile": "36px", "font-size": "32px", @@ -261,7 +261,7 @@ def setThemeStarlight(baseDir: str): "event-color": "#ffc4bc", "image-corners": "2%", "*font-family": "'bgrove'", - "*src": "url('fonts/bgrove.ttf') format('truetype')" + "*src": "url('fonts/bgrove.woff2') format('woff2')" } setThemeFromDict(baseDir, 'starlight', themeParams) @@ -305,7 +305,7 @@ def setThemeHenge(baseDir: str): "timeline-border-radius": "20px", "image-corners": "8%", "*font-family": "'bgrove'", - "*src": "url('fonts/bgrove.ttf') format('truetype')" + "*src": "url('fonts/bgrove.woff2') format('woff2')" } setThemeFromDict(baseDir, 'henge', themeParams) @@ -349,7 +349,7 @@ def setThemeHighVis(baseDir: str): "hashtag-vertical-spacing4": "150px", "time-vertical-align": "-10px", "*font-family": "'LinBiolinum_Rah'", - "*src": "url('./fonts/LinBiolinum_Rah.ttf') format('truetype')" + "*src": "url('./fonts/LinBiolinum_Rah.woff2') format('woff2')" } setThemeFromDict(baseDir, 'highvis', themeParams) @@ -405,14 +405,14 @@ def setThemeLCD(baseDir: str): "place-color": "#33390d", "event-color": "#33390d", "*font-family": "'LcdSolid'", - "*src": "url('./fonts/LcdSolid.ttf') format('truetype')" + "*src": "url('./fonts/LcdSolid.woff2') format('woff2')" } setThemeFromDict(baseDir, 'lcd', themeParams) def setThemePurple(baseDir: str): fontStr = \ - "url('./fonts/CheGuevaraTextSans-Regular.ttf') format('truetype')" + "url('./fonts/CheGuevaraTextSans-Regular.woff2') format('woff2')" themeParams = { "font-size-button-mobile": "36px", "font-size": "32px",