From e8b673e7b2e19786f572c30cd83fa0482ec849bf Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 7 Jan 2021 11:48:15 +0100 Subject: doc: foot.ini: put ‘shell’, ‘login-shell’ and ‘term’ first MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/foot.ini.5.scd | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 4bf40af2..d3d9b523 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -18,6 +18,19 @@ in this order: # SECTION: default +*shell* + Executable to launch. Typically a shell. Default: _$SHELL_ if set, + otherwise the user's default shell (as specified in + _/etc/passwd_). You can also pass arguments. For example + */bin/bash --norc*. + +*login-shell* + Boolean. If enabled, the shell will be launched as a login shell, + by prepending a '-' to argv[0]. Default: _no_. + +*term* + Value to set the environment variable *TERM* to. Default: _foot_. + *font*, *font-bold*, *font-italic*, *font-bold-italic* Comma separated list of fonts to use, in fontconfig format. That @@ -111,19 +124,6 @@ in this order: *geometry* Deprecated. Alias for *initial-window-size-pixels*. -*shell* - Executable to launch. Typically a shell. Default: _$SHELL_ if set, - otherwise the user's default shell (as specified in - _/etc/passwd_). You can also pass arguments. For example - */bin/bash --norc*. - -*login-shell* - Boolean. If enabled, the shell will be launched as a login shell, - by prepending a '-' to argv[0]. Default: _no_. - -*term* - Value to set the environment variable *TERM* to. Default: _foot_. - *title* Initial window title. Default: _foot_. -- cgit v1.3 From d1f43371bb6bbd5d5d81472cc117effe0c0be3f5 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 7 Jan 2021 11:48:50 +0100 Subject: doc: foot.ini: document line-height, letter-spacing and letter offsets --- doc/foot.ini.5.scd | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index d3d9b523..32e989c4 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -64,6 +64,28 @@ in this order: Default: _monospace:size=8_ (*font*), _not set_ (*font-bold*, *font-italic*, *font-bold-italic*). +*line-height* + An absolute value, in pixels, that override line height from the + font metrics. + + See also: *vertical-letter-offset* + + Default: _no set_. + +*letter-spacing* + Spacing between letters. A positive value will increase the cell + size, and a negative value shrinks it. + + See also: *horizontal-letter-offset* + + Default: _0_. + +*horizontal-letter-offset*, *vertical-letter-offset* + Configure the horizontal and vertical offsets used when + positioning glyphs within cells, relative to the top left corner. + + Default: _0_. + *dpi-aware* *auto*, *yes*, or *no*. When set to *yes*, fonts are sized using the monitor's DPI, making a font of a given size have the same -- cgit v1.3 From 17339410efee99002574b276fbedb5deeec081c1 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 7 Jan 2021 17:07:42 +0100 Subject: doc: foot.ini: line-height, letter-spacing and offsets are in points (by default) --- doc/foot.ini.5.scd | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 32e989c4..4a45400a 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -65,24 +65,34 @@ in this order: *font-italic*, *font-bold-italic*). *line-height* - An absolute value, in pixels, that override line height from the + An absolute value, in _points_, that override line height from the font metrics. - See also: *vertical-letter-offset* + You can specify a height in _pixels_ by using the _px_ suffix: + e.g. *line-height=12px*. + + See also: *vertical-letter-offset*. Default: _no set_. *letter-spacing* - Spacing between letters. A positive value will increase the cell - size, and a negative value shrinks it. + Spacing between letters, in _points_. A positive value will + increase the cell size, and a negative value shrinks it. + + You can specify a letter spacing in _pixels_ by using the _px_ + suffix: e.g. *letter-spacing=2px*. - See also: *horizontal-letter-offset* + See also: *horizontal-letter-offset*. Default: _0_. *horizontal-letter-offset*, *vertical-letter-offset* Configure the horizontal and vertical offsets used when - positioning glyphs within cells, relative to the top left corner. + positioning glyphs within cells, in _points_, relative to the top + left corner. + + To specify an offset in _pixels_, append _px_: + e.g. *horizontal-letter-offset=2px*. Default: _0_. -- cgit v1.3