tags 641873 patch
thanks

Hi,

I've done some debugging and noticed that in 3.02,
GlobalParams::findFontFile was always returning NULL (I couldn't
find a PDF file for which it wasn't the case). In 3.03, it wasn't
returning NULL. So, I tried to add a "return NULL;" at the beginning
of the function (see attached patch)... and it solved the problem!

However I don't know what this function is supposed to do and any
other consequence of this patch. Please check...

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
--- xpdf.orig/xpdf/GlobalParams.cc      2012-02-18 03:28:11.000000000 +0100
+++ xpdf/xpdf/GlobalParams.cc   2012-02-18 03:29:07.000000000 +0100
@@ -2095,6 +2095,8 @@
   FILE *f;
   int i, j;
 
+  return NULL;
+
   lockGlobalParams;
   if ((path = (GString *)fontFiles->lookup(fontName))) {
     path = path->copy();

Reply via email to