Skip to content
Snippets Groups Projects
Commit a35d61a6 authored by Andrew Dyukov's avatar Andrew Dyukov
Browse files

Fixed critical bug EXT-4971 (Crash when attemping to change UI size)

- Adding default glyph for fallback fonts is now skipped in LLFontFreetype::resetBitmapCache().

--HG--
branch : product-engine
parent ae2cbf2d
No related branches found
No related tags found
No related merge requests found
......@@ -504,8 +504,13 @@ void LLFontFreetype::resetBitmapCache()
mCharGlyphInfoMap.clear();
mFontBitmapCachep->reset();
// Add the empty glyph
addGlyphFromFont(this, 0, 0);
// Adding default glyph is skipped for fallback fonts here as well as in loadFace().
// This if was added as fix for EXT-4971.
if(!mIsFallback)
{
// Add the empty glyph
addGlyphFromFont(this, 0, 0);
}
}
void LLFontFreetype::destroyGL()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment