poppler: disable xpdf language configuration
authorAsbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
Tue, 8 Jun 2010 09:31:37 +0000 (09:31 +0000)
committerAsbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
Wed, 16 Jun 2010 14:37:23 +0000 (14:37 +0000)
lib/pdf/GFXOutputDev.cc

index b6cef65..ff875aa 100644 (file)
@@ -2640,6 +2640,9 @@ void addGlobalFont(const char*filename)
 
 void addGlobalLanguageDir(const char*dir)
 {
+#ifdef HAVE_POPPLER
+    msg("<notice> NOT adding %s to language pack directories (not implemented with poppler)", dir);
+#else
     msg("<notice> Adding %s to language pack directories", dir);
 
     FILE*fi = 0;
@@ -2655,6 +2658,7 @@ void addGlobalLanguageDir(const char*dir)
     }
     globalParams->parseFile(new GString(config_file), fi);
     fclose(fi);
+#endif
 }
 
 void addGlobalFontDir(const char*dirname)