remove --ttf-only
restriction on nf and cn
This commit is contained in:
parent
c0d69f930b
commit
e82f70a9c2
1 changed files with 2 additions and 2 deletions
4
build.py
4
build.py
|
@ -1085,7 +1085,7 @@ def main():
|
||||||
# ==================================== Build NF =======================================
|
# ==================================== 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)
|
use_font_patcher = build_option.should_use_font_patcher(font_config)
|
||||||
|
|
||||||
get_ttfont = (
|
get_ttfont = (
|
||||||
|
@ -1113,7 +1113,7 @@ def main():
|
||||||
# ==================================== Build CN =======================================
|
# ==================================== 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():
|
def _build_cn():
|
||||||
print(
|
print(
|
||||||
|
|
Loading…
Reference in a new issue