Skip to content

Commit

Permalink
Merge pull request #727 from nguyen-v/feat_otf_fonts
Browse files Browse the repository at this point in the history
[Feature] Support OTF fonts installation in ressources
  • Loading branch information
set-soft authored Nov 20, 2024
2 parents c17a230 + b76b89c commit cce750c
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, '*.ttf')) + glob(os.path.join(source, '*.otf')):
fname = os.path.basename(f)
fdest = os.path.join(dest, fname)
if os.path.isfile(fdest):
Expand Down

0 comments on commit cce750c

Please sign in to comment.