From b84de6fb8ed5bac59e1721066fd56472ab385e14 Mon Sep 17 00:00:00 2001 From: kramm Date: Sat, 20 Oct 2007 17:13:58 +0000 Subject: [PATCH] added warning for external fonts --- lib/pdf/GFXOutputDev.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/pdf/GFXOutputDev.cc b/lib/pdf/GFXOutputDev.cc index 84d02ab..0eb7c04 100644 --- a/lib/pdf/GFXOutputDev.cc +++ b/lib/pdf/GFXOutputDev.cc @@ -1992,6 +1992,7 @@ void addGlobalFont(const char*filename) f.filename = filename; if(fontnum < sizeof(fonts)/sizeof(fonts[0])) { msg(" Adding font \"%s\".", filename); + msg(" External fonts are not supported with this version. Ignoring font %s", filename); fonts[fontnum++] = f; } else { msg(" Too many external fonts. Not adding font file \"%s\".", filename); @@ -2020,6 +2021,8 @@ void addGlobalLanguageDir(const char*dir) void addGlobalFontDir(const char*dirname) { + msg(" External fonts are not supported with this version. Ignoring directory %s", dirname); + return; #ifdef HAVE_DIRENT_H msg(" Adding %s to font directories", dirname); lastfontdir = strdup(dirname); -- 1.7.10.4