From 41d25de69fe132a22bce17fc367a6551d956481c Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Mon, 2 Jun 2025 23:31:52 -0700 Subject: [PATCH] Util: Remove glyph rendering from mFontSpanWidth --- src/util/image/font.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/util/image/font.c b/src/util/image/font.c index ecb8dc045..03717874c 100644 --- a/src/util/image/font.c +++ b/src/util/image/font.c @@ -86,10 +86,6 @@ int mFontSpanWidth(struct mFont* font, const char* text) { continue; } - if (FT_Render_Glyph(face->glyph, FT_RENDER_MODE_NORMAL)) { - continue; - } - FT_Vector kerning = {0}; FT_Get_Kerning(face, lastGlyph, glyph, FT_KERNING_DEFAULT, &kerning); width += kerning.x;