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

View File

@ -50,6 +50,7 @@ def glob_paths(pattern):
package_data = {
"": [
"assets/*",
"assets/fonts/*",
"kivymd/fonts/*",
"kivymd/images/*",
"kivymd/*",