[poppler] poppler/GlobalParams.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon May 7 23:16:24 UTC 2018


 poppler/GlobalParams.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 784bf432bffadf654b213caa21ec95fafb963299
Author: Albert Astals Cid <aacid at kde.org>
Date:   Tue May 8 01:16:06 2018 +0200

    Fix build with -DFONT_CONFIGURATION=generic

diff --git a/poppler/GlobalParams.cc b/poppler/GlobalParams.cc
index 93268d79..2d8ecad7 100644
--- a/poppler/GlobalParams.cc
+++ b/poppler/GlobalParams.cc
@@ -1254,7 +1254,7 @@ void GlobalParams::setupBaseFonts(char *dir) {
   int i, j;
 
   for (i = 0; displayFontTab[i].name; ++i) {
-    if (fontFiles->lookup(displayFontTab[i].name)) {
+    if (fontFiles.count(displayFontTab[i].name) > 0) {
       continue;
     }
     fontName = new GooString(displayFontTab[i].name);


More information about the poppler mailing list