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/*",