mirror of https://github.com/mgba-emu/mgba.git
Util: Remove glyph rendering from mFontSpanWidth
This commit is contained in:
parent
645001e9ce
commit
41d25de69f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue