|
From: Harald H. <h.h...@tu...> - 2005-01-09 19:35:49
|
On Sun, 9 Jan 2005, Daniel J Sebald wrote: > Harald Harders wrote: > >I have updated the username patch now to work with the current cvs > >version. Since I don't have Windows available, does somebody compile > >gnuplot with Windows and can test the patch there? Gnuplot should either > >use the Windows login name or one of the environment variables USER or > >USERNAME to set the Author for the pdf and postscript terminal. > > > >When using the postscript terminal, information should be written into the > >postscript file that is interpreted by ghostscript and Acrobat. With > >ghostscript, it works. Can please somebody test if Acrobat also takes > >these information for the pdf file information? > > Do you mean in Windows? I ment both, since I do not have Acrobat at all. > For Acrobat on linux I'm seeing file > information in Acrobat for PDF directly and ps2pdf. (In one case I see > the Creator is PDFlib Lite 6.0.1 (Linux); in the other case GNU > Ghostscript 7.07.) So, you see in "General Info" in Acroread: File: <filename> Title: <filename> Subject: gnuplot plot Author: Daniel J Sebald Keywords: Binding: Left Edge Creator: gnuplot 4.1 patchlevel 0 Producer: PDFlib Lite 6.0.1 resp. Ghostscript 7.07 Created: <date> ... PDF Version: 1.4 resp. 1.3 > The former PDF looks better because the border white > space is smaller and more even. The issue with the latter is > Ghostscript (probably some margins need to be set in a defaults file). You are using a really old ghostscript version. The current is 8.50. Many improvements concerning pdf production have been made in the meantime. > The PostScript file created by Gnuplot does hav e a little bit of > unbalanced white space borders when viewed in letter layout (bounding > box layout looks fine). Are you describing, where the plot is inside the BoundingBox? That should be another problem that does not have to do with this patch. > Someone can cross that bridge some other day. > For some reason "ggv" and "xpdf" do not show file information. Why? I > don't know. Thus, you have a pdf file with information, shown by Acroread? But if viewed in xpdf, they are not shown? Strange. Harald -- Harald Harders h.h...@tu... http://www.harald-harders.de |