Skip to content

Commit ed473ee

Browse files
committed
docs: add --cn-scale-skip-punctuation to README and schema
Update documentation in English, Chinese, and Japanese README files to include the new --cn-scale-skip-punctuation command line option. Also update config.json schema to include scale_skip_punctuation.
1 parent b6135a2 commit ed473ee

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,9 @@ Feature Options:
705705
--cn-scale-factor CN_SCALE_FACTOR
706706
Scale factor for CN / JP glyphs. Format: <factor> or
707707
<width_factor>,<height_factor> (e.g. 1.1 or 1.2,1.1)
708+
--cn-scale-skip-punctuation
709+
Skip scaling for fullwidth punctuation glyphs when using
710+
--cn-scale-factor
708711
709712
Build Options:
710713
--nf, --nerd-font Build Nerd-Font version (default)

README_CN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,8 @@ Feature Options:
711711
--cn-scale-factor CN_SCALE_FACTOR
712712
中文/日文字形的缩放因子。格式:<因子> 或
713713
<宽度因子>,<高度因子> (例如 1.1 或 1.2,1.1)
714+
--cn-scale-skip-punctuation
715+
使用 --cn-scale-factor 时跳过全角标点符号的缩放
714716
715717
Build Options:
716718
--nf, --nerd-font 构建 Nerd-Font 版本(默认)

README_JA.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,9 @@ Feature Options:
708708
--cn-scale-factor CN_SCALE_FACTOR
709709
中国語/日本語グリフのスケール係数。形式:<係数> または
710710
<幅の係数>,<高さの係数> (例:1.1 または 1.2,1.1)
711+
--cn-scale-skip-punctuation
712+
--cn-scale-factor 使用時に全角句読点グリフのスケーリングを
713+
スキップする
711714
712715
Build Options:
713716
--nf, --nerd-font Nerd-Fontバージョンをビルド(デフォルト)

source/schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,11 @@
486486
],
487487
"description": "Scale factor for CN / JP glyphs with <factor> or [<width_factor>,<height_factor>](e.g. 1.1 or [1.2, 1.1])",
488488
"default": 1.0
489+
},
490+
"scale_skip_punctuation": {
491+
"type": "boolean",
492+
"description": "Whether to skip scaling for fullwidth punctuation glyphs when using scale_factor",
493+
"default": false
489494
}
490495
},
491496
"required": [

0 commit comments

Comments
 (0)