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
This commit is contained in:
Daniel Eklöf 2021-06-17 17:52:38 +02:00
parent 11829931a7
commit cf81fff062
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 42 additions and 9 deletions

View file

@ -99,6 +99,9 @@ struct config {
struct pt_or_px horizontal_letter_offset;
struct pt_or_px vertical_letter_offset;
bool use_custom_underline_offset;
struct pt_or_px underline_offset;
bool box_drawings_uses_font_glyphs;
struct {