From 2c101a21ee6df096dadd60a77b4cb190f8503490 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 20 Oct 2020 21:04:47 +0200 Subject: config: add font-bold, font-italic and font-bold-italic options These options lets the user configure custom fonts and styles, to use with the bold and italic cell attributes. By default, they are unset, meaning we use the bold/italic variants of the regular font. Closes #169. --- terminal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'terminal.h') diff --git a/terminal.h b/terminal.h index 503b5862..6a8e340b 100644 --- a/terminal.h +++ b/terminal.h @@ -225,7 +225,7 @@ struct terminal { struct composed *composed; struct fcft_font *fonts[4]; - struct config_font *font_sizes; + struct config_font *font_sizes[4]; float font_dpi; enum fcft_subpixel font_subpixel; -- cgit v1.3