From c26b4411052b309639ec8b2ac9d45f98e0e48f4d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 23 Aug 2024 15:37:26 +0530 Subject: [PATCH] Dont output falling back to menlo message for the symbols nerd font mono family --- kitty/fonts/core_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/fonts/core_text.py b/kitty/fonts/core_text.py index bb4d69d65..1b381d840 100644 --- a/kitty/fonts/core_text.py +++ b/kitty/fonts/core_text.py @@ -195,7 +195,7 @@ def find_best_match( # Let CoreText choose the font if the family exists, otherwise # fallback to Menlo if q not in font_map['family_map']: - if family != "monospace": + if family.lower() not in ('monospace', 'symbols nerd font mono'): log_error(f'The font {family} was not found, falling back to Menlo') q = 'menlo' candidates = scorer.sorted_candidates(font_map['family_map'][q])