From 2ea4293b133e9933b1b7f99b4a5807e85775f14b Mon Sep 17 00:00:00 2001 From: h-east Date: Thu, 9 Apr 2026 07:39:03 +0900 Subject: [PATCH 1/3] Update gui.{txt,jax} --- doc/gui.jax | 12 +++++++++++- en/gui.txt | 13 ++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/doc/gui.jax b/doc/gui.jax index 668ab6034..8f880e8e9 100644 --- a/doc/gui.jax +++ b/doc/gui.jax @@ -1,4 +1,4 @@ -*gui.txt* For Vim バージョン 9.2. Last change: 2026 Feb 14 +*gui.txt* For Vim バージョン 9.2. Last change: 2026 Apr 07 VIM リファレンスマニュアル by Bram Moolenaar @@ -1167,11 +1167,21 @@ Win32のGUIについて *E244* *E245* NONANTIALIASED, CLEARTYPE または DEFAULT である。通常は "qDEFAULT" を使用する。 いくつかの品質値はレガシーなOSではサポートされていない。 + fXX - OpenType フォント機能。単一の機能を指定するには、tag=value の形 + 式で指定する。tag は 4 文字の OpenType 機能タグ、value はパラメー + タ (0で無効、1 以上で有効 / バリアントを選択) である。複数の機能 + を指定するには、":f" オプションを繰り返す。 + これは、'renderoptions' が DirectWrite (タイプ: directx) を使用 + するように設定されている場合にのみ有効になる。デフォルトの機能 + (calt、liga など) は、明示的に上書きされない限り保持される。例: + ":fss19=1:fcalt=0" は、スタイルセット 19 を有効にし、コンテキス + ト代替テキストを無効にする。 - スペースの代わりに '_' を使用できるので、スペースをエスケープするためにバッ クスラッシュを使用する必要はない。 例: > :set guifont=courier_new:h12:w5:b:cRUSSIAN :set guifont=Andale_Mono:h7.5:w4.5 + :set guifont=Cascadia_Code:h14:fss19=1:fcalt=1:fliga=1 |font-sizes| も参照。 diff --git a/en/gui.txt b/en/gui.txt index a255af48b..9965e3dd4 100644 --- a/en/gui.txt +++ b/en/gui.txt @@ -1,4 +1,4 @@ -*gui.txt* For Vim version 9.2. Last change: 2026 Feb 14 +*gui.txt* For Vim version 9.2. Last change: 2026 Apr 07 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1150,11 +1150,22 @@ For the Win32 GUI *E244* *E245* NONANTIALIASED, CLEARTYPE and DEFAULT. Normally you would use "qDEFAULT". Some quality values are not supported in legacy OSs. + fXX - OpenType font feature. Specify a single feature as + tag=value, where tag is a 4-character OpenType feature + tag and value is the parameter (0 to disable, 1 or + higher to enable/select variant). Multiple features + can be specified by repeating the ":f" option. + This only takes effect when 'renderoptions' is set to use + DirectWrite (type:directx). Default features (calt, liga, + etc.) are preserved unless explicitly overridden. + Example: ":fss19=1:fcalt=0" enables Stylistic Set 19 + and disables Contextual Alternates. - A '_' can be used in the place of a space, so you don't need to use backslashes to escape the spaces. Examples: > :set guifont=courier_new:h12:w5:b:cRUSSIAN :set guifont=Andale_Mono:h7.5:w4.5 + :set guifont=Cascadia_Code:h14:fss19=1:fcalt=1:fliga=1 See also |font-sizes|. From 8da1c11b2a4013bad1ff082bc6b0e4901f7af258 Mon Sep 17 00:00:00 2001 From: h_east Date: Sat, 11 Apr 2026 17:15:21 +0900 Subject: [PATCH 2/3] Update doc/gui.jax Co-authored-by: mityu --- doc/gui.jax | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/gui.jax b/doc/gui.jax index 8f880e8e9..3b73e2374 100644 --- a/doc/gui.jax +++ b/doc/gui.jax @@ -1173,9 +1173,9 @@ Win32のGUIについて *E244* *E245* を指定するには、":f" オプションを繰り返す。 これは、'renderoptions' が DirectWrite (タイプ: directx) を使用 するように設定されている場合にのみ有効になる。デフォルトの機能 - (calt、liga など) は、明示的に上書きされない限り保持される。例: - ":fss19=1:fcalt=0" は、スタイルセット 19 を有効にし、コンテキス - ト代替テキストを無効にする。 + (calt、liga など) は、明示的に上書きされない限り保持される。 + 例: ":fss19=1:fcalt=0" は、スタイルセット 19 を有効にし、コンテ + キスト代替テキストを無効にする。 - スペースの代わりに '_' を使用できるので、スペースをエスケープするためにバッ クスラッシュを使用する必要はない。 例: > From d03dd70f003087d4e223fb6e9675c27188f2aef2 Mon Sep 17 00:00:00 2001 From: h_east Date: Sat, 11 Apr 2026 17:17:48 +0900 Subject: [PATCH 3/3] Update doc/gui.jax Co-authored-by: mityu --- doc/gui.jax | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/gui.jax b/doc/gui.jax index 3b73e2374..0fffd0d97 100644 --- a/doc/gui.jax +++ b/doc/gui.jax @@ -1171,8 +1171,8 @@ Win32のGUIについて *E244* *E245* 式で指定する。tag は 4 文字の OpenType 機能タグ、value はパラメー タ (0で無効、1 以上で有効 / バリアントを選択) である。複数の機能 を指定するには、":f" オプションを繰り返す。 - これは、'renderoptions' が DirectWrite (タイプ: directx) を使用 - するように設定されている場合にのみ有効になる。デフォルトの機能 + これは、'renderoptions' が DirectWrite (type:directx) を使用する + ように設定されている場合にのみ有効になる。デフォルトの機能 (calt、liga など) は、明示的に上書きされない限り保持される。 例: ":fss19=1:fcalt=0" は、スタイルセット 19 を有効にし、コンテ キスト代替テキストを無効にする。