fix font rendering

This commit is contained in:
Nishi 2026-04-27 05:29:22 +09:00
commit 16a0eeae4f
Signed by: nishi
GPG key ID: 27EF69B208EB9343

View file

@ -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;