diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-04-10 09:11:47 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-04-10 09:11:47 +0000 |
| commit | f78ba6653f591fc4c72ead45b3f6e66063fdab0b (patch) | |
| tree | be563000f53c86cfd61db1595a04715fce5b5fbe /config.c | |
| parent | Merge branch 'underline-cursor-below-text-underline' (diff) | |
| parent | doc: foot.ini: codespell: antaliasing -> antialiasing (diff) | |
Merge branch 'optionally-render-box-drawing-characters-using-font-glyphs'
Closes #430
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -770,6 +770,9 @@ parse_section_main(const char *key, const char *value, struct config *conf, } } + else if (strcmp(key, "box-drawings-uses-font-glyphs") == 0) + conf->box_drawings_uses_font_glyphs = str_to_bool(value); + else { LOG_AND_NOTIFY_ERR("%s:%u: [default]: %s: invalid key", path, lineno, key); return false; @@ -2198,6 +2201,7 @@ config_load(struct config *conf, const char *conf_path, .letter_spacing = { .pt = 0, .px = 0, }, .horizontal_letter_offset = {.pt = 0, .px = 0, }, .vertical_letter_offset = {.pt = 0, .px = 0, }, + .box_drawings_uses_font_glyphs = false, .dpi_aware = DPI_AWARE_AUTO, /* DPI-aware when scaling-factor == 1 */ .scrollback = { .lines = 1000, |
