From e82f70a9c2dcbf69e877a52462fbc8c9dc49b06b Mon Sep 17 00:00:00 2001 From: subframe7536 <1667077010@qq.com> Date: Mon, 27 Jan 2025 11:24:03 +0800 Subject: [PATCH] remove `--ttf-only` restriction on nf and cn --- build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 559a658..6d9d044 100755 --- a/build.py +++ b/build.py @@ -1085,7 +1085,7 @@ def main(): # ==================================== Build NF ======================================= # ========================================================================================= - if font_config.nerd_font["enable"] and not font_config.ttf_only: + if font_config.nerd_font["enable"]: use_font_patcher = build_option.should_use_font_patcher(font_config) get_ttfont = ( @@ -1113,7 +1113,7 @@ def main(): # ==================================== Build CN ======================================= # ========================================================================================= - if not font_config.ttf_only and build_option.should_build_cn(font_config): + if build_option.should_build_cn(font_config): def _build_cn(): print(