|
From: Harald H. <h.h...@tu...> - 2005-01-07 23:27:24
|
On Fri, 7 Jan 2005, Ethan Merritt wrote: > On Friday 07 January 2005 12:41 pm, Daniel J Sebald wrote: > > > > In any case, the contents of the file seem viewable. Perhaps something > > wrong with the PDF library? (Ethan?) I think I just compiled the most > > recent version of PDFlib-Lite. (PDFlib-6.0.1p1-Linux.tar.gz) Either > > > > 1) PDF library does something acroread doesn't like. > > The first line of the output from PDFlib is now > %PDF-1.5 > It used to be > %PDF-1.2 > > Whether PDFlib actually *uses* any of the features introduced since > 1.2, that I don't know. I am rather sure that it does not use any features newer than PDF-1.4. My Patch #1023783, Write username to pdf and ps plots and fix both terminals, solves this problem. It uses the current PDFlib syntax if available and sets PDF to compatibility level 1.4. And it solves some more problems. For example, original gnuplot states in every plot that the author of this plot was Hans-Bernhard Broeker, in the official version. This of course is not the correct way to handle it. The patch tries to find out the name of the current user and uses this one. Some effort is done to work with Unix and Windows. The Windows part has to be tested since I do not have Windows. In addition, this patch adds information to postscript files that enable ghostscript (and hopefully Acrobat) to set the username and title of the plot correctly when converting the postscript file to pdf. Please have a look at this patch. I really think it is useful. I am using it since I have uploaded it to sf.net and I never had any problems. Harald -- Harald Harders h.h...@tu... http://www.harald-harders.de |