On 2006-12-30 23:20+0100 Werner Smekal wrote:

> Hi Alan,
>
>> Werner, let me know if you need any more information to duplicate this
>> pdf device build error on your Linux box with libharu-2.0.8.
>
> I think I fixed it, though I haven't been to Linux yet. I'll do that 
> tomorrow. If you have time, you can give it a try again.

Thanks, Werner.  That was a good catch.  The Linux build error is now gone,
and the only apparent build issue remaining is the following warning:

/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/pdf.c:162: warning:
passing arg 1 of HPDF_New' from incompatible pointer type.  However, that
did not seem to affect the results with this device.

I installed and did a superficial install-tree test
using c/x01c -dev pdf -o test.pdf

When the resulting test.pdf file was viewed with the gv application, there
appeared to be an overgenerous bounding box, but otherwise the rendering
looked okay including the black background that is supposed to be there.

A similar test with the xpdf pdf viewer showed the same bounding-box issue
and a white (!) background.  This might be an issue with how -dev pdf
creates the background colour of the plot because if I use -dev psc and
transform the result to pdf using ps2pdf, xpdf renders that transformed
result with the correct black background.  So it appears xpdf can render the
background colour correctly, but it is sensitive to exactly how that
background colour is created.

Anyhow, it seems your new pdf device is a good start, and I suggest you will
want to include this device as an option in plplot-test.sh so we can easily
generate pdf's for all install-tree examples as a test of -dev pdf.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to