From 50527dad267f3a3b13b567f8a569786b36a423a2 Mon Sep 17 00:00:00 2001 From: Pavel Stupnikov Date: Wed, 25 Oct 2017 14:54:47 +0300 Subject: [PATCH] Don't call FcFini to avoid fontcache reinitialization --- src/fontdetection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fontdetection.cpp b/src/fontdetection.cpp index 450a6d0b5c..860f3edfa3 100644 --- a/src/fontdetection.cpp +++ b/src/fontdetection.cpp @@ -611,7 +611,7 @@ FT_Error GetFontByFaceName(const char *font_name, FT_Face *face) free(font_family); FcPatternDestroy(pat); FcFontSetDestroy(fs); - FcFini(); + // FcFini(); } return err;