[NTG-pdftex] xpdf in pdftex

Fabrice Popineau Fabrice.Popineau@supelec.fr
Sat, 20 Mar 2004 23:41:46 +0100


AFAIK, what follow is requested by xpdf. I don't see any constructor for
GlobalParams without any parameter.

What do you think ?

Fabrice

diff -ruN -X mswin32\diff.exclude c:/source/TeXLive/Build/source.development/TeX/texk/web2c/pdftexdir/pdftoepdf.cc ./texk.development/web2c/pdftexdir/pdftoepdf.cc
--- c:/source/TeXLive/Build/source.development/TeX/texk/web2c/pdftexdir/pdftoepdf.cc	Fri Mar 12 14:15:52 2004
+++ ./texk.development/web2c/pdftexdir/pdftoepdf.cc	Sun Mar 14 10:24:34 2004
@@ -687,7 +687,7 @@
     float pdf_version_found, pdf_version_wanted;
     // initialize
     if (!isInit) {
-        globalParams = new GlobalParams();
+        globalParams = new GlobalParams("");
         globalParams->setErrQuiet(gFalse);
         isInit = gTrue;
     }
diff -ruN -X mswin32\diff.exclude c:/source/TeXLive/Build/source.development/TeX/texk/web2c/pdftexdir/pdftosrc.cc ./texk.development/web2c/pdftexdir/pdftosrc.cc
--- c:/source/TeXLive/Build/source.development/TeX/texk/web2c/pdftexdir/pdftosrc.cc	Fri Mar 12 14:47:57 2004
+++ ./texk.development/web2c/pdftexdir/pdftosrc.cc	Sun Mar 14 09:56:46 2004
@@ -60,7 +60,7 @@
         exit(1);
     }
     fileName = new GString(argv[1]);
-    globalParams = new GlobalParams();
+    globalParams = new GlobalParams("");
     doc = new PDFDoc(fileName);
     if (!doc->isOk()) {
         fprintf(stderr, "Invalid PDF file\n");