Skip to content

Commit

Permalink
[Feature] Support OTF fonts in ressources
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyen-v committed Nov 20, 2024
1 parent 1c966db commit 97ae41a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kibot/kiplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ def setup_fonts(source):
return
dest = os.path.expanduser('~/.fonts/')
installed = False
for f in glob(os.path.join(source, '*.ttf')):
for f in glob(os.path.join(source, '*.[to][tf]f')):
fname = os.path.basename(f)
fdest = os.path.join(dest, fname)
if os.path.isfile(fdest):
Expand Down

0 comments on commit 97ae41a

Please sign in to comment.