config: add line-height, letter-spacing, {horizontal,vertical}-letter-offset

This commit is contained in:
Daniel Eklöf 2021-01-07 11:16:02 +01:00
parent 2177bacd6f
commit f9c9dd2432
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 56 additions and 0 deletions

View file

@ -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;