mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-13 05:33:51 -04:00
config: add line-height, letter-spacing, {horizontal,vertical}-letter-offset
This commit is contained in:
parent
2177bacd6f
commit
f9c9dd2432
2 changed files with 56 additions and 0 deletions
8
config.h
8
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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue