Merge pull request #17956 from hch12907/master

SDL: let's not remove the candidate fallback fonts
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2023-08-23 09:41:59 +02:00
commit cdd4cd869b
1 file changed
-1
-1
View File
@@ -173,7 +173,6 @@ bool TextDrawerSDL::FindFallbackFonts(uint32_t missingGlyph, int ptSize) {
if (TTF_GlyphIsProvided32(font, missingGlyph)) {
fallbackFonts_.insert(fallbackFonts_.begin(), font);
fallbackFontPaths_.erase(fallbackFontPaths_.begin() + i);
return true;
} else {
TTF_CloseFont(font);