mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-27 03:11:46 +00:00
Merge branch 'master' of https://github.com/marksisson/kitty
This commit is contained in:
commit
ed85f177b6
1 changed files with 6 additions and 0 deletions
6
setup.py
6
setup.py
|
|
@ -928,6 +928,12 @@ def add_builtin_fonts(args: Options) -> None:
|
|||
if os.path.exists(q):
|
||||
font_file = q
|
||||
break
|
||||
for root, _, files in os.walk(candidate, onerror=lambda _: None):
|
||||
if filename in files:
|
||||
font_file = os.path.join(root, filename)
|
||||
break
|
||||
if font_file:
|
||||
break
|
||||
elif is_windows:
|
||||
for candidate in (
|
||||
os.path.expandvars(r'%userprofile%\AppData\Local\Microsoft\Windows\Fonts'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue