Util: Remove glyph rendering from mFontSpanWidth

This commit is contained in:
Vicki Pfau 2025-06-02 23:31:52 -07:00
parent 645001e9ce
commit 41d25de69f
1 changed files with 0 additions and 4 deletions

View File

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