diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2025-10-20 09:39:11 -0400 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2025-10-20 09:39:11 -0400 |
| commit | 1bfc17ba8ce16ef8bfc505f2d9747adb55222ae6 (patch) | |
| tree | d01e1382f5c9eee1a5e572fae8d098ffd3b4babd | |
| parent | e5ca1d93d52b2a5cfe99f5f2197e2b215fe694fe (diff) | |
font finishing
| -rw-r--r-- | config.h | 2 | ||||
| -rw-r--r-- | font.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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}; @@ -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; |
