diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-07 16:00:58 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-11 08:31:08 +0000 |
| commit | a6fc8b5da4a3bfc9b1d3994797826518103879ac (patch) | |
| tree | 7ee4333c53847900a895b566d5414ee375ba23fd /terminal.h | |
| parent | config: str_to_color(): use LOG_AND_NOTIFY(), not just LOG() (diff) | |
config: line-height, letter-spacing: values are in pt by default, but we allow px
If the value is specified without a unit, then the value is assumed to
be in points, subject to DPI scaling.
The value can optionally have a ‘px’ suffix, in which case the value
is treated as a raw pixel count.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -265,6 +265,8 @@ struct terminal { struct config_font *font_sizes[4]; float font_dpi; int font_scale; + int16_t font_x_ofs; + int16_t font_y_ofs; enum fcft_subpixel font_subpixel; /* |
