|
From: Scott L. <sl...@sl...> - 2006-09-25 23:21:15
|
On Sep 25, 2006, at 3:18 PM, Hans-Bernhard Br=F6ker wrote:
>> so instead I'm trying CVS 20060923 on a previously-working =20
>> machine. Here we go: On the RedHat Linux 4ES system (which claims =20=
>> to have PDFlib 6.0.1),
>> * "Sat Jul 3 00:04:32 CEST 2004" works.
>
> ... but that can't be using 6.0.1 (or at least it had to be patched =20=
> to use it).
>
> You may have to use bisection on the date axis (guided by the 'cvs =20
> log' of pdf.trm to find critical spots) to find the patch that
> broke this (starting off the first version that works with PDFlib 6).
I was afraid you'd say that. Back on an FC5 system (where building's =20
much easier). After confusing myself and running "gnuplot" instead of =20=
"src/gnuplot" a bunch of times, I wrote this script:
#!/bin/sh
DATE=3D"$1"
cvs up -D$DATE && ./prepare && ./configure && make clean && make || =20
exit 1
src/gnuplot <<EOF || exit 1
set terminal pdf
set output "test-$DATE.pdf"
test
EOF
mv test-$DATE.pdf ~/public_html || exit 1
echo Check test-$DATE.pdf
20050701 works
20060101 doesn't
20051101 doesn't
20051001 works
20051017 doesn't
20051016 works
=46rom there,
$ cvs up -r1.58 term/pdf.trm -> works
$ cvs up -r1.59 term/pdf.trm -> doesn't work
----------------------------
revision 1.59
date: 2005/10/17 06:01:02; author: sfeam; state: Exp; lines: +3 -4
Treat pointsize 0 as a dot
----------------------------
--- term/pdf.trm 16 Oct 2005 19:19:35 -0000 1.58
+++ term/pdf.trm 17 Oct 2005 06:01:02 -0000 1.59
@@ -1,5 +1,5 @@
/* Hello, Emacs, this is -*-C-*-
- * $Id: pdf.trm,v 1.58 2005/10/16 19:19:35 sfeam Exp $
+ * $Id: pdf.trm,v 1.59 2005/10/17 06:01:02 sfeam Exp $
*/
/*------------------------------
@@ -659,9 +659,8 @@
PDF_PathClose ();
PDF_save(myPDF);
- if (number < 0) {
- /* Like the PostScript driver, treat all negative numbers as
- * 'with dots'. */
+ if (number <=3D 0) {
+ /* Treat all negative point sizes as dots */
PDF_dot(x, y);
} else {
/* Change coordinate system so the point symbols themselves
--=20
Scott Lamb <http://www.slamb.org/>
|