Skip to content

Commit 6ceff72

Browse files
committed
Update description for 'rop'
Catch up with v8.0.1369.
1 parent baea3ee commit 6ceff72

File tree

2 files changed

+58
-24
lines changed

2 files changed

+58
-24
lines changed

doc/options.jax

+32-16
Original file line numberDiff line numberDiff line change
@@ -6151,23 +6151,24 @@ Note 1番目の形式では、行全体がオプション指定に使われる
61516151

61526152
オプション:
61536153
名前 意味 型 値 ~
6154-
gamma gamma float 1.0 - 2.2 (maybe)
6155-
contrast enhancedContrast float (unknown)
6156-
level clearTypeLevel float (unknown)
6157-
geom pixelGeometry int 0 - 2 (see below)
6158-
renmode renderingMode int 0 - 6 (see below)
6159-
taamode textAntialiasMode int 0 - 3 (see below)
6154+
gamma gamma float 1.0 - 2.2 (おそらく)
6155+
contrast enhancedContrast float (不明)
6156+
level clearTypeLevel float (不明)
6157+
geom pixelGeometry int 0 - 2 (下記参照)
6158+
renmode renderingMode int 0 - 6 (下記参照)
6159+
taamode textAntialiasMode int 0 - 3 (下記参照)
6160+
scrlines Scroll Lines int >= 0 (下記参照)
61606161

6161-
詳細は次の URL を参照:
6162-
http://msdn.microsoft.com/en-us/library/dd368190.aspx
6162+
詳細は次の URL を参照 (scrlines を除く):
6163+
https://msdn.microsoft.com/en-us/library/dd368190.aspx
61636164

61646165
geom: デバイスピクセルの内部構造。
61656166
0 - DWRITE_PIXEL_GEOMETRY_FLAT
61666167
1 - DWRITE_PIXEL_GEOMETRY_RGB
61676168
2 - DWRITE_PIXEL_GEOMETRY_BGR
61686169

61696170
詳細は次の URL を参照:
6170-
http://msdn.microsoft.com/en-us/library/dd368114.aspx
6171+
https://msdn.microsoft.com/en-us/library/dd368114.aspx
61716172

61726173
renmode: 文字レンダリングの方法。
61736174
0 - DWRITE_RENDERING_MODE_DEFAULT
@@ -6179,7 +6180,7 @@ Note 1番目の形式では、行全体がオプション指定に使われる
61796180
6 - DWRITE_RENDERING_MODE_OUTLINE
61806181

61816182
詳細は次の URL を参照:
6182-
http://msdn.microsoft.com/en-us/library/dd368118.aspx
6183+
https://msdn.microsoft.com/en-us/library/dd368118.aspx
61836184

61846185
taamode: テキスト描画に使われるアンチエイリアスモード。
61856186
0 - D2D1_TEXT_ANTIALIAS_MODE_DEFAULT
@@ -6188,7 +6189,24 @@ Note 1番目の形式では、行全体がオプション指定に使われる
61886189
3 - D2D1_TEXT_ANTIALIAS_MODE_ALIASED
61896190

61906191
詳細は次の URL を参照:
6191-
http://msdn.microsoft.com/en-us/library/dd368170.aspx
6192+
https://msdn.microsoft.com/en-us/library/dd368170.aspx
6193+
6194+
scrlines: スクロールする行数の閾値。
6195+
0 - 常にスクロールする。 (既定)
6196+
1 - ページ全体の再描画を行う。
6197+
> 1 - スクロールされようとしている行数が指定された数値以上で
6198+
あれば再描画を行う。そうでなければスクロールする。
6199+
6200+
もし DirectX レンダラを有効にした時に、ページ単位のスクロール
6201+
(|CTRL-F|) が遅いと感じるならば、この "scrlines" オプションを
6202+
試してみるとよい。
6203+
"1" に設定すると、Vim はスクロールを行う代わりに、ページ全体の
6204+
再描画を行う。一部の環境では、ページ全体の再描画の方がスクロー
6205+
ルよりも速い。
6206+
その後、行単位のスクロール (|CTRL-Y|) が遅くなったと感じるなら
6207+
ば、"2" またはそれ以上の値を試してみるとよい。この値はスクロー
6208+
ルから再描画に切り替えるための閾値として働く。一部の環境では、
6209+
少数の行数のスクロールはページ全体の再描画よりも速い。
61926210

61936211
例: >
61946212
set encoding=utf-8
@@ -6197,15 +6215,13 @@ Note 1番目の形式では、行全体がオプション指定に使われる
61976215
<
61986216
'guifont' にラスターフォント (Courier、Terminal、FixedSysなど
61996217
拡張子に ".fon" が付いているもの) が選択されているときは、自動
6200-
的に GDI による描画に切り替わる。この切り替わりが発生したとき
6201-
は大幅な描画の速度低下が発生する。
6218+
的に GDI による描画に切り替わる。
62026219

62036220
NOTE: 一部のフォントとオプションの組み合わせによってはグリフが
62046221
描画されない場合がある。
62056222

6206-
- 'rendmode:5' と 'renmode:6' は一部の特製フォント (ビット
6207-
マップしか含まない TrueType フォントなど) に対して動作しな
6208-
い。
6223+
- 'renmode:5' と 'renmode:6' は一部の特製フォント (ビットマッ
6224+
プしか含まない TrueType フォントなど) に対して動作しない。
62096225
- 'taamode:3' は一部のベクターフォントに対して動作しない。
62106226

62116227
NOTE: Windows 8.1 またはそれ以降では、このオプションを使うこと

en/options.txt

+26-8
Original file line numberDiff line numberDiff line change
@@ -6065,17 +6065,18 @@ A jump table for the options with a short description can be found at |Q_op|.
60656065
geom pixelGeometry int 0 - 2 (see below)
60666066
renmode renderingMode int 0 - 6 (see below)
60676067
taamode textAntialiasMode int 0 - 3 (see below)
6068+
scrlines Scroll Lines int >= 0 (see below)
60686069

6069-
See this URL for detail:
6070-
http://msdn.microsoft.com/en-us/library/dd368190.aspx
6070+
See this URL for detail (except for scrlines):
6071+
https://msdn.microsoft.com/en-us/library/dd368190.aspx
60716072

60726073
For geom: structure of a device pixel.
60736074
0 - DWRITE_PIXEL_GEOMETRY_FLAT
60746075
1 - DWRITE_PIXEL_GEOMETRY_RGB
60756076
2 - DWRITE_PIXEL_GEOMETRY_BGR
60766077

60776078
See this URL for detail:
6078-
http://msdn.microsoft.com/en-us/library/dd368114.aspx
6079+
https://msdn.microsoft.com/en-us/library/dd368114.aspx
60796080

60806081
For renmode: method of rendering glyphs.
60816082
0 - DWRITE_RENDERING_MODE_DEFAULT
@@ -6087,7 +6088,7 @@ A jump table for the options with a short description can be found at |Q_op|.
60876088
6 - DWRITE_RENDERING_MODE_OUTLINE
60886089

60896090
See this URL for detail:
6090-
http://msdn.microsoft.com/en-us/library/dd368118.aspx
6091+
https://msdn.microsoft.com/en-us/library/dd368118.aspx
60916092

60926093
For taamode: antialiasing mode used for drawing text.
60936094
0 - D2D1_TEXT_ANTIALIAS_MODE_DEFAULT
@@ -6096,7 +6097,25 @@ A jump table for the options with a short description can be found at |Q_op|.
60966097
3 - D2D1_TEXT_ANTIALIAS_MODE_ALIASED
60976098

60986099
See this URL for detail:
6099-
http://msdn.microsoft.com/en-us/library/dd368170.aspx
6100+
https://msdn.microsoft.com/en-us/library/dd368170.aspx
6101+
6102+
For scrlines: threshold for lines to be scrolled.
6103+
0 - Always use scrolling. (default)
6104+
1 - Use full page redrawing.
6105+
> 1 - If the lines to be scrolled is grater or equal to the
6106+
specified value, use redrawing. Otherwise use
6107+
scrolling.
6108+
6109+
If you feel scrolling a page (CTRL-F) is too slow with DirectX
6110+
renderer, try this "scrlines" option.
6111+
When set it "1", Vim uses full page redrawing instead of
6112+
scrolling. Redrawing a page is faster than scrolling a
6113+
page in some environments.
6114+
After that, when you feel scrolling lines (CTRL-Y) becomes
6115+
slow, please try "2" or greater value for this option.
6116+
It works threshold line number to switch scrolling to
6117+
redrawing. Scrolling a few lines might be faster than
6118+
redrawing a page in some environments.
61006119

61016120
Example: >
61026121
set encoding=utf-8
@@ -6105,13 +6124,12 @@ A jump table for the options with a short description can be found at |Q_op|.
61056124
<
61066125
If select a raster font (Courier, Terminal or FixedSys which
61076126
have ".fon" extension in file name) to 'guifont', it will be
6108-
drawn by GDI as a fallback. This fallback will cause
6109-
significant slow down on drawing.
6127+
drawn by GDI as a fallback.
61106128

61116129
NOTE: It is known that some fonts and options combination
61126130
causes trouble on drawing glyphs.
61136131

6114-
- 'rendmode:5' and 'renmode:6' will not work with some
6132+
- 'renmode:5' and 'renmode:6' will not work with some
61156133
special made fonts (True-Type fonts which includes only
61166134
bitmap glyphs).
61176135
- 'taamode:3' will not work with some vector fonts.

0 commit comments

Comments
 (0)