diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-07 16:07:42 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-11 08:31:08 +0000 |
| commit | 17339410efee99002574b276fbedb5deeec081c1 (patch) | |
| tree | e6506861cebb00c308e7b2ba643eb36da35c2b6d | |
| parent | config: line-height, letter-spacing: values are in pt by default, but we allow px (diff) | |
doc: foot.ini: line-height, letter-spacing and offsets are in points (by default)
| -rw-r--r-- | doc/foot.ini.5.scd | 22 |
1 files changed, 16 insertions, 6 deletions
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_. |
