mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
fix for linux
This commit is contained in:
parent
dbf28eeebf
commit
7f609d0f0a
5 changed files with 31 additions and 41 deletions
|
@ -25,6 +25,6 @@ linux_font_name_map = {
|
|||
|
||||
def get_default_ttf_font_name():
|
||||
platform = sys.platform
|
||||
if platform == 'win32': return windows_font_name_map.get(system_language, 'cour')
|
||||
if platform[0:3] == 'win': return windows_font_name_map.get(system_language, 'cour')
|
||||
elif platform == 'darwin': return darwin_font_name_map.get(system_language, 'cour')
|
||||
else: return linux_font_name_map.get(system_language, 'cour')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue