aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h2
-rw-r--r--font.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.h b/config.h
index e175b20..2510006 100644
--- a/config.h
+++ b/config.h
@@ -8,7 +8,7 @@ typedef struct {
} color_t;
static const uint32_t min_width = 500;
-static const uint32_t font_size = 15;
+static const uint32_t font_size = 14;
static const color_t text_color = {0.85, 0.85, 0.85, 1.0};
static const color_t highlight_color = {0.1, 0.3, 0.7, 1.0};
static const color_t background_color = {0.1, 0.1, 0.1, 1.0};
diff --git a/font.c b/font.c
index 9d9fc6d..93cbeca 100644
--- a/font.c
+++ b/font.c
@@ -68,7 +68,7 @@ bool freetype_init(client_state* state, const char* file) {
fprintf(stderr, "Failed to set font size\n");
return false;
}
- state->load_flags = FT_LOAD_RENDER | FT_LOAD_TARGET_NORMAL;
+ state->load_flags = FT_LOAD_RENDER | FT_LOAD_TARGET_NORMAL;
state->line_height = state->ft_face->size->metrics.height >> 6;
state->horizontal_spacing = state->line_height / 2.0f;