Can use Source Sans 3 font series

This commit is contained in:
nemunaire 2023-08-29 11:57:18 +02:00
parent 1c2f08f5aa
commit a5fdd57a75

View File

@ -14,6 +14,10 @@ class Config:
self.fnt_R_path = "/usr/share/fonts/source-pro/SourceSansPro-Regular.otf"
self.fnt_RI_path = "/usr/share/fonts/source-pro/SourceSansPro-It.otf"
self.fnt_RB_path = "/usr/share/fonts/source-pro/SourceSansPro-Bold.otf"
elif os.path.exists('/usr/share/fonts/source-sans/'):
self.fnt_R_path = "/usr/share/fonts/source-sans/SourceSans3-Regular.otf"
self.fnt_RI_path = "/usr/share/fonts/source-sans/SourceSans3-It.otf"
self.fnt_RB_path = "/usr/share/fonts/source-sans/SourceSans3-Bold.otf"
elif os.path.exists('/usr/share/fonts/libertine'):
self.fnt_R_path = "/usr/share/fonts/libertine/LinBiolinum_Rah.ttf"
self.fnt_RI_path = "/usr/share/fonts/libertine/LinBiolinum_RIah.ttf"