aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-07 10:16:02 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-11 08:31:05 +0000
commitf9c9dd24329fe4a2f6d350e693b1d7a7bae33b83 (patch)
tree8b577eb5399400eed96fca0923fd3389059ad761 /config.h
parentMerge branch 'fish-completions' (diff)
config: add line-height, letter-spacing, {horizontal,vertical}-letter-offset
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h b/config.h
index 21b79230..9b33b37f 100644
--- a/config.h
+++ b/config.h
@@ -84,6 +84,14 @@ struct config {
enum {DPI_AWARE_AUTO, DPI_AWARE_YES, DPI_AWARE_NO} dpi_aware;
config_font_list_t fonts[4];
+ /* Custom font metrics (-1 = use real font metrics) */
+ int16_t line_height;
+ int16_t letter_spacing;
+
+ /* Adjusted letter x/y offsets */
+ int16_t horizontal_letter_offset;
+ int16_t vertical_letter_offset;
+
struct {
int lines;