mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 04:32:05 +00:00
Fix #2421
This commit is contained in:
parent
8ae110691e
commit
f74fb846e5
1 changed files with 2 additions and 1 deletions
|
|
@ -86,7 +86,8 @@ def find_best_match(family: str, bold: bool = False, italic: bool = False) -> 'C
|
|||
# fallback to Menlo
|
||||
if q not in font_map['family_map']:
|
||||
log_error('The font {} was not found, falling back to Menlo'.format(family))
|
||||
return bi_match(font_map['family_map']['menlo'], bold, italic)
|
||||
family = 'menlo'
|
||||
return bi_match(font_map['family_map'][family], bold, italic)
|
||||
|
||||
|
||||
def resolve_family(f: str, main_family: str, bold: bool = False, italic: bool = False) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue