From 7317193d3d5bf374e406cde34fcccf88562a6bce Mon Sep 17 00:00:00 2001 From: Sergii Pylypenko Date: Thu, 17 Oct 2019 21:18:54 +0300 Subject: [PATCH] Small fix to fontdetection --- src/fontdetection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fontdetection.cpp b/src/fontdetection.cpp index 39e7b2eca9..8e9b20a94f 100644 --- a/src/fontdetection.cpp +++ b/src/fontdetection.cpp @@ -705,7 +705,7 @@ bool SetFallbackFont(FreeTypeSettings *settings, const char *language_isocode, i callback->SetFontNames(settings, (const char*)file); - missing = callback->FindMissingGlyphs(NULL); + missing += callback->FindMissingGlyphs(NULL); DEBUG(freetype, 1, "Font \"%s\" misses %d glyphs for lang %s", file, missing, lang); if (missing < best_missing_glypths) {