mirror of
https://github.com/markqvist/Sideband.git
synced 2025-05-01 22:16:17 -04:00
Fixed font path includes
This commit is contained in:
parent
5413db18d2
commit
c6ddb66b57
2 changed files with 2 additions and 1 deletions
|
@ -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",)
|
||||
|
|
1
setup.py
1
setup.py
|
@ -50,6 +50,7 @@ def glob_paths(pattern):
|
|||
package_data = {
|
||||
"": [
|
||||
"assets/*",
|
||||
"assets/fonts/*",
|
||||
"kivymd/fonts/*",
|
||||
"kivymd/images/*",
|
||||
"kivymd/*",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue