diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-06-17 15:52:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-06-17 15:54:21 +0000 |
| commit | cf81fff062c8cac850f491ac722d6bb79a8bde14 (patch) | |
| tree | fc0e48563073f2eaf4eeec9a4f5c602d76eb39f4 /doc | |
| parent | search: don’t crash when we don’t have any XKB compose state (diff) | |
config: add underline-offset option
This option allows the user to configure a custom underline
offset. That is, use the user provided offset instead of the font
provided one.
Closes #490
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/foot.ini.5.scd | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index e434c84b..a34a1987 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -112,10 +112,24 @@ in this order: Default: _0_. -*box-drawings-uses-font-glyphs* - Boolean. When disabled, foot generates box/line drawing characters - itself. The are several advantages to doing this instead of using - font glyphs: +*underline-offset* + Use a custom offset for underlines. The offset is, by default, in + _points_ and relative the font's baseline. A positive value + positions the underline under the baseline, while a negative value + positions it above the baseline. + + To specify an offset in _pixels_, append *px*: + *underline-offset=2px*. + + If left unset (the default), the offset specified in the font is + used, or estimated by foot if the font lacks underline positioning + information. + + Default: _unset_. + +*box-drawings-uses-font-glyphs* Boolean. When disabled, foot generates + box/line drawing characters itself. The are several advantages to + doing this instead of using font glyphs: - No antialiasing effects where e.g. line endpoints appear dimmed down, or blurred. |
