From c6ddb66b57c6a449b5feb37a90893db5cd9ad894 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 5 Jan 2024 19:50:13 +0100 Subject: [PATCH] Fixed font path includes --- sbapp/main.py | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sbapp/main.py b/sbapp/main.py index b1fa45b..f279c16 100644 --- a/sbapp/main.py +++ b/sbapp/main.py @@ -354,7 +354,7 @@ class SidebandApp(MDApp): def font_config(self): from kivy.core.text import LabelBase, DEFAULT_FONT - fb_path = "assets/fonts/" + fb_path = self.sideband.asset_dir+"/fonts/" LabelBase.register(name="hebrew", fn_regular=fb_path+"NotoSansHebrew-Regular.ttf", fn_bold=fb_path+"NotoSansHebrew-Bold.ttf",) diff --git a/setup.py b/setup.py index 98b9669..f316345 100644 --- a/setup.py +++ b/setup.py @@ -50,6 +50,7 @@ def glob_paths(pattern): package_data = { "": [ "assets/*", + "assets/fonts/*", "kivymd/fonts/*", "kivymd/images/*", "kivymd/*",