From: Asbjørn Sloth Tønnesen Date: Tue, 8 Jun 2010 09:31:37 +0000 (+0000) Subject: poppler: disable xpdf language configuration X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=cce10b37d5db502e4612ddfa5d7b14d41814445b;p=swftools.git poppler: disable xpdf language configuration --- diff --git a/lib/pdf/GFXOutputDev.cc b/lib/pdf/GFXOutputDev.cc index b6cef65..ff875aa 100644 --- a/lib/pdf/GFXOutputDev.cc +++ b/lib/pdf/GFXOutputDev.cc @@ -2640,6 +2640,9 @@ void addGlobalFont(const char*filename) void addGlobalLanguageDir(const char*dir) { +#ifdef HAVE_POPPLER + msg(" NOT adding %s to language pack directories (not implemented with poppler)", dir); +#else msg(" 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)