Fixed font path includes

This commit is contained in:
Mark Qvist 2024-01-05 19:50:13 +01:00
parent 5413db18d2
commit c6ddb66b57
2 changed files with 2 additions and 1 deletions

View file

@ -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",)