diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-19 16:35:02 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-19 16:35:02 +0000 |
| commit | 3c8a87168aa74e19665a2b43e2e242fbc72898b8 (patch) | |
| tree | 4726d30aa3739a04dc4ddb6fd8ba78d175c2501c /terminal.c | |
| parent | doc: foot.1: highlight 'command' in the synopsis (diff) | |
fonts: use 'weight' and 'slant', not 'style' when loading fonts
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -368,9 +368,9 @@ initialize_fonts(struct terminal *term, const struct config *conf) tll_push_back(font_names, it->item); if ((term->fonts[0] = font_from_name(font_names, "")) == NULL || - (term->fonts[1] = font_from_name(font_names, "style=bold")) == NULL || - (term->fonts[2] = font_from_name(font_names, "style=italic")) == NULL || - (term->fonts[3] = font_from_name(font_names, "style=bold italic")) == NULL) + (term->fonts[1] = font_from_name(font_names, "weight=bold")) == NULL || + (term->fonts[2] = font_from_name(font_names, "slant=italic")) == NULL || + (term->fonts[3] = font_from_name(font_names, "weight=bold:slant=italic")) == NULL) { tll_free(font_names); return false; |
