From 57a803bcb089a933ff381e56d2049f3cde882cbf Mon Sep 17 00:00:00 2001 From: subframe7536 <1667077010@qq.com> Date: Tue, 18 Feb 2025 21:34:57 +0800 Subject: [PATCH] fix width verify when cn.narrow is true #338 --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 1a60f5c..31311ba 100755 --- a/build.py +++ b/build.py @@ -1145,7 +1145,7 @@ def main(): TTFont( joinPaths(build_option.output_cn, listdir(build_option.output_cn)[0]) ), - [0, glyph_width, glyph_width * 2], + [0, glyph_width, 1000 if font_config.cn['narrow'] else glyph_width * 2], ) # =========================================================================================