From 16a0eeae4fa852587dacab3ebca57620c8c7f999 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Mon, 27 Apr 2026 05:29:22 +0900 Subject: [PATCH] fix font rendering --- src/text/ft2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/text/ft2.c b/src/text/ft2.c index fef3f05..df63a27 100644 --- a/src/text/ft2.c +++ b/src/text/ft2.c @@ -123,7 +123,6 @@ static int ft2_MwTextWidth(MwFLFont ttf, const char* text) { text = old_text; } - tw -= ttf->face->glyph->advance.x >> 6; tw += ttf->face->glyph->bitmap_left + ttf->face->glyph->bitmap.width; return tw + 1;