fix width verify when cn.narrow is true #338

This commit is contained in:
subframe7536 2025-02-18 21:34:57 +08:00
parent 4cec697142
commit 57a803bcb0

View file

@ -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],
)
# =========================================================================================