diff options
Diffstat (limited to 'ted.c')
-rw-r--r-- | ted.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -83,6 +83,9 @@ static void ted_load_font(Ted *ted, char const *filename, Font **out) { if (ted_get_file(ted, filename, font_filename, sizeof font_filename)) { Font *font = text_font_load(font_filename, ted->settings.text_size); if (font) { + // we don't properly handle variable-width fonts + text_font_set_force_monospace(font, true); + if (*out) { text_font_free(*out); } |