mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
Fixed loading fonts on linux
This commit is contained in:
parent
a7c0fc2a3c
commit
e42db49ca5
@ -51,7 +51,7 @@ class FontManager:
|
||||
return cls.windows_load_font(font_path, private=True, enumerable=False)
|
||||
|
||||
# Linux
|
||||
elif sys.platform.startswith("win"):
|
||||
elif sys.platform.startswith("linux"):
|
||||
try:
|
||||
shutil.copy(font_path, os.path.expanduser("~/.fonts/"))
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user