From cce10b37d5db502e4612ddfa5d7b14d41814445b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Tue, 8 Jun 2010 09:31:37 +0000 Subject: [PATCH] poppler: disable xpdf language configuration --- lib/pdf/GFXOutputDev.cc | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 1.7.10.4