Re: [Plplot-devel] Cairo Driver Family

2007-09-03 Thread Hazen Babcock
On Sep 2, 2007, at 11:04 PM, Alan W. Irwin wrote: > Hazen seems reluctant to praise his cairo device driver so I will > do it for > him. :-) > > All issues I recently identified with the pscairo device have now > been fixed > by Hazen, and in addition he has added driver options to allow >

Re: [Plplot-devel] Cairo Driver Family

2007-09-02 Thread Alan W. Irwin
Hazen seems reluctant to praise his cairo device driver so I will do it for him. :-) All issues I recently identified with the pscairo device have now been fixed by Hazen, and in addition he has added driver options to allow control of antialiasing for either/both text and graphics using the 4 le

Re: [Plplot-devel] Cairo Driver Family

2007-08-20 Thread Maurice LeBrun
(trying to catch up on email) Alan W. Irwin writes: > Once -ori 0, -ori 1, -ori 2, etc., work, then for fun try -ori 0.3 (i.e., > non-integer -ori values). You will find a long-standing PLplot bug for that > case which doesn't give correct plotted results (the rectangular viewport > gets shea

Re: [Plplot-devel] Cairo Driver Family

2007-08-18 Thread Alan W. Irwin
On 2007-08-18 14:12-0400 Hazen Babcock wrote: > > On Aug 16, 2007, at 9:41 PM, Alan W. Irwin wrote: > >> On 2007-08-08 14:27-0700 Alan W. Irwin wrote: >> >> Just to review the status here of Hazen's work on dealing with the various >> cairo issues I brought up... >> >> (3) There are 3D plot labe

Re: [Plplot-devel] Cairo Driver Family

2007-08-18 Thread Hazen Babcock
On Aug 16, 2007, at 9:41 PM, Alan W. Irwin wrote: > On 2007-08-08 14:27-0700 Alan W. Irwin wrote: > > Just to review the status here of Hazen's work on dealing with the > various > cairo issues I brought up... > > (3) There are 3D plot labelling problems. For example, if you > look at example

Re: [Plplot-devel] Cairo Driver Family

2007-08-17 Thread Alan W. Irwin
On 2007-08-17 20:10-0400 Hazen Babcock wrote: > > On Aug 16, 2007, at 9:41 PM, Alan W. Irwin wrote: > >> On 2007-08-08 14:27-0700 Alan W. Irwin wrote: >> >> (4) Text clipping. Hazen's fix ended up costing huge amounts of computer >> time (10x - 100x) for his software stack so he commented it out

Re: [Plplot-devel] Cairo Driver Family

2007-08-17 Thread Hazen Babcock
On Aug 16, 2007, at 9:41 PM, Alan W. Irwin wrote: > On 2007-08-08 14:27-0700 Alan W. Irwin wrote: > > (4) Text clipping. Hazen's fix ended up costing huge amounts of > computer > time (10x - 100x) for his software stack so he commented it out. I > would > like to verify the computer time pr

Re: [Plplot-devel] Cairo Driver Family

2007-08-16 Thread Alan W. Irwin
On 2007-08-08 14:27-0700 Alan W. Irwin wrote: Just to review the status here of Hazen's work on dealing with the various cairo issues I brought up... (1) The PostScript bounding box seems of adequate size now for all cases. It is somewhat bigger than what is needed for certain plots, but in the i

Re: [Plplot-devel] Cairo Driver Family

2007-08-16 Thread Alan W. Irwin
On 2007-08-16 20:44-0400 Hazen Babcock wrote: > I tried to follow ps.c more closely. Does pscairo (i.e. version 7808+) work > correctly now (with -portrait mode)? Yes! Thanks, Hazen. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and

Re: [Plplot-devel] Cairo Driver Family

2007-08-16 Thread Hazen Babcock
On Aug 16, 2007, at 2:04 AM, Alan W. Irwin wrote: >> Ok. My latest commit may have gotten this all sorted out. I'm a >> little puzzled why the PLplot library doesn't just pass the driver >> the right transform matrix for the new orientation since it is >> going to the effort of rotating eve

Re: [Plplot-devel] Cairo Driver Family

2007-08-15 Thread Alan W. Irwin
On 2007-08-15 23:51-0400 Hazen Babcock wrote: > > On Aug 15, 2007, at 11:16 PM, Alan W. Irwin wrote: >> Once -ori works for integer values, then you should confirm that the -a >> option works as well. In other words, your device should give correct >> results for different aspect ratios passed t

Re: [Plplot-devel] Cairo Driver Family

2007-08-15 Thread Alan W. Irwin
On 2007-08-15 23:24-0400 Hazen Babcock wrote: > > On Aug 8, 2007, at 5:27 PM, Alan W. Irwin wrote: > >> (4) Text clipping has not yet been implemented. (The first page of example >> 9 >> shows this issue.) > > I've committed a version that implements text clipping. I understand that it > isn't q

Re: [Plplot-devel] Cairo Driver Family

2007-08-15 Thread Hazen Babcock
On Aug 15, 2007, at 11:16 PM, Alan W. Irwin wrote: > On 2007-08-15 21:41-0400 Hazen Babcock wrote: > >> Or should portrait mode simply be a 90 degree rotation of the plot? > > That is part of it as you can see from ps.c, but you also need to > set pls->freeaspect = 1; which acts the same as if th

Re: [Plplot-devel] Cairo Driver Family

2007-08-15 Thread Hazen Babcock
On Aug 8, 2007, at 5:27 PM, Alan W. Irwin wrote: > (4) Text clipping has not yet been implemented. (The first page of > example 9 > shows this issue.) I've committed a version that implements text clipping. I understand that it isn't quite correct since it does not use difilt() to adjust t

Re: [Plplot-devel] Cairo Driver Family

2007-08-15 Thread Alan W. Irwin
On 2007-08-15 21:41-0400 Hazen Babcock wrote: > > On Aug 8, 2007, at 5:27 PM, Alan W. Irwin wrote: > >> (5) pscairo ignores the -portrait flag and the -ori flag gives strange >> looking results with part of the plot (the titles) oriented to a new >> direction and the rest of the plot ignoring -ori

Re: [Plplot-devel] Cairo Driver Family

2007-08-15 Thread Hazen Babcock
On Aug 8, 2007, at 5:27 PM, Alan W. Irwin wrote: > (5) pscairo ignores the -portrait flag and the -ori flag gives strange > looking results with part of the plot (the titles) oriented to a new > direction and the rest of the plot ignoring -ori altogether. It looks like the ps driver supports thi

Re: [Plplot-devel] Cairo Driver Family

2007-08-11 Thread Alan W. Irwin
On 2007-08-11 21:05-0400 Hazen Babcock wrote: > > On Aug 8, 2007, at 5:27 PM, Alan W. Irwin wrote: > >> Just to review the status here, Hazen has fixed the stdout issue (issue >> 2), >> and a resolution problem (issue 6 discussed off list with Hazen). Here >> are the remaining issues that I am

Re: [Plplot-devel] Cairo Driver Family

2007-08-11 Thread Hazen Babcock
On Aug 8, 2007, at 5:27 PM, Alan W. Irwin wrote: > Just to review the status here, Hazen has fixed the stdout issue > (issue 2), > and a resolution problem (issue 6 discussed off list with Hazen). > Here > are the remaining issues that I am aware of. > > (1) The bounding box is still not qu

Re: [Plplot-devel] Cairo Driver Family

2007-08-08 Thread Alan W. Irwin
Just to review the status here, Hazen has fixed the stdout issue (issue 2), and a resolution problem (issue 6 discussed off list with Hazen). Here are the remaining issues that I am aware of. (1) The bounding box is still not quite correct. Hazen has fixed the major problem (swapping of X and Y

Re: [Plplot-devel] Cairo Driver Family

2007-08-07 Thread Hazen Babcock
On Aug 7, 2007, at 12:08 PM, Alan W. Irwin wrote: > On 2007-08-07 00:28-0400 Hazen Babcock wrote: > >> >> On Aug 5, 2007, at 2:56 PM, Alan W. Irwin wrote: >> >> Ok, I may have fixed this, at least for linux users. It was pretty >> simple but >> also a bit puzzling. I don't really understand why

Re: [Plplot-devel] Cairo Driver Family

2007-08-07 Thread Alan W. Irwin
On 2007-08-07 00:28-0400 Hazen Babcock wrote: > > On Aug 5, 2007, at 2:56 PM, Alan W. Irwin wrote: > >> On 2007-08-05 12:02-0400 Hazen Babcock wrote: >> >>> >>> On Aug 3, 2007, at 3:54 AM, Alan W. Irwin wrote: >>> On 2007-08-02 23:04-0700 Alan W. Irwin wrote: > Now for some issues I di

Re: [Plplot-devel] Cairo Driver Family

2007-08-06 Thread Hazen Babcock
On Aug 5, 2007, at 2:56 PM, Alan W. Irwin wrote: > On 2007-08-05 12:02-0400 Hazen Babcock wrote: > >> >> On Aug 3, 2007, at 3:54 AM, Alan W. Irwin wrote: >> >>> On 2007-08-02 23:04-0700 Alan W. Irwin wrote: Now for some issues I discovered with the pscairo results. (1) The bounding box

Re: [Plplot-devel] Cairo Driver Family

2007-08-05 Thread Hazen Babcock
On Aug 5, 2007, at 2:56 PM, Alan W. Irwin wrote: > On 2007-08-05 12:02-0400 Hazen Babcock wrote: >> >> I was not aware of this convention, but I'll see if that is possible. > > I have never looked at these internals before, but it appears to be > straightforward. When your device calls plOpenFil

Re: [Plplot-devel] Cairo Driver Family

2007-08-05 Thread Alan W. Irwin
On 2007-08-05 12:02-0400 Hazen Babcock wrote: > > On Aug 3, 2007, at 3:54 AM, Alan W. Irwin wrote: > >> On 2007-08-02 23:04-0700 Alan W. Irwin wrote: >> >>> Now for some issues I discovered with the pscairo results. >>> >>> (1) The bounding box is not correct. (I believe that is a known issue >

Re: [Plplot-devel] Cairo Driver Family

2007-08-05 Thread Hazen Babcock
On Aug 3, 2007, at 3:54 AM, Alan W. Irwin wrote: > On 2007-08-02 23:04-0700 Alan W. Irwin wrote: > >> Now for some issues I discovered with the pscairo results. >> >> (1) The bounding box is not correct. (I believe that is a known >> issue which >> you plan to fix.) Is the problem that the bou

Re: [Plplot-devel] Cairo Driver Family

2007-08-03 Thread Alan W. Irwin
On 2007-08-02 23:04-0700 Alan W. Irwin wrote: > Now for some issues I discovered with the pscairo results. > > (1) The bounding box is not correct. (I believe that is a known issue which > you plan to fix.) > > (2) At least for single pages I planned to get around the bounding box issue > using >

Re: [Plplot-devel] Cairo Driver Family

2007-08-02 Thread Alan W. Irwin
On 2007-06-04 21:17-0400 Hazen Babcock wrote: > > On Jun 3, 2007, at 7:30 PM, Alan W. Irwin wrote: > >> I have only done the most superficial tests of the built results, but I >> immediately noticed two issues on Linux beyond what you mentioned. >> >> (1) the 'ldd -r cairo.so' test showed the >>

Re: [Plplot-devel] Cairo Driver Family

2007-06-16 Thread Hazen Babcock
On Jun 13, 2007, at 10:28 PM, Hazen Babcock wrote: > > On Jun 13, 2007, at 1:49 AM, Alan W. Irwin wrote: > >> On 2007-06-12 21:56-0400 Hazen Babcock wrote: >> The syntax error on line 796 is a showstopper. It is caused by a svn conflict that you have to resolve yourself. >>> >>> I

Re: [Plplot-devel] Cairo Driver Family

2007-06-13 Thread Hazen Babcock
On Jun 13, 2007, at 1:49 AM, Alan W. Irwin wrote: > On 2007-06-12 21:56-0400 Hazen Babcock wrote: > >>> The syntax error on line 796 is a showstopper. It is caused by a >>> svn >>> conflict that you have to resolve yourself. >> >> I'm puzzled. I don't have this problem on either my linux or OS

Re: [Plplot-devel] Cairo Driver Family

2007-06-12 Thread Alan W. Irwin
On 2007-06-12 21:56-0400 Hazen Babcock wrote: >> The syntax error on line 796 is a showstopper. It is caused by a svn >> conflict that you have to resolve yourself. > > I'm puzzled. I don't have this problem on either my linux or OS-X box. What > do you mean by a svn conflict? Never mind and so

Re: [Plplot-devel] Cairo Driver Family

2007-06-12 Thread Hazen Babcock
On Jun 12, 2007, at 7:12 PM, Alan W. Irwin wrote: > On 2007-06-10 00:43-0400 Hazen Babcock wrote: > >> The -fam option should now work with pngcairo. > > Hi Hazen: > > Your latest svn commit has a syntax error (as well as additional > warnings) > in cairo.c on my Ubuntu Dapper system. > > /usr/

Re: [Plplot-devel] Cairo Driver Family

2007-06-12 Thread Alan W. Irwin
On 2007-06-10 00:43-0400 Hazen Babcock wrote: > > On Jun 4, 2007, at 9:17 PM, Hazen Babcock wrote: > >> On Jun 3, 2007, at 7:30 PM, Alan W. Irwin wrote: >>> >>> That is correct. The way this is taken care of for the png device >>> (as well >>> as jpeg and gif) for gd.c is to use the normal PLplot

Re: [Plplot-devel] Cairo Driver Family

2007-06-12 Thread Hazen Babcock
On Jun 4, 2007, at 9:17 PM, Hazen Babcock wrote: > On Jun 3, 2007, at 7:30 PM, Alan W. Irwin wrote: >> >> That is correct. The way this is taken care of for the png device >> (as well >> as jpeg and gif) for gd.c is to use the normal PLplot familying >> facility >> (see >> http://plplot.sourcefo

Re: [Plplot-devel] Cairo Driver Family

2007-06-06 Thread Alan W. Irwin
On 2007-06-06 18:48-0700 Alan W. Irwin wrote: > On 2007-06-06 20:26-0400 Hazen Babcock wrote: > >> >> On Jun 4, 2007, at 10:17 PM, Alan W. Irwin wrote: >>> (2) Memory management issues >>> >>> Here is the associated error message (after I hit one additional CR after >>> the last page of example 8

Re: [Plplot-devel] Cairo Driver Family

2007-06-06 Thread Alan W. Irwin
On 2007-06-06 20:26-0400 Hazen Babcock wrote: > > On Jun 4, 2007, at 10:17 PM, Alan W. Irwin wrote: >> (2) Memory management issues >> >> Here is the associated error message (after I hit one additional CR after >> the last page of example 8 is displayed) >> >> *** glibc detected *** double free

Re: [Plplot-devel] Cairo Driver Family

2007-06-06 Thread Hazen Babcock
On Jun 4, 2007, at 10:17 PM, Alan W. Irwin wrote: > On 2007-06-04 21:17-0400 Hazen Babcock wrote: > >> On Jun 3, 2007, at 7:30 PM, Alan W. Irwin wrote: > >>> (1) the 'ldd -r cairo.so' test showed the >>> following problems: >>> >>> undefined symbol: cairo_ps_surface_create (./cairo.so) >>>

Re: [Plplot-devel] Cairo Driver Family

2007-06-04 Thread Alan W. Irwin
On 2007-06-04 21:17-0400 Hazen Babcock wrote: > On Jun 3, 2007, at 7:30 PM, Alan W. Irwin wrote: >> (1) the 'ldd -r cairo.so' test showed the >> following problems: >> >> undefined symbol: cairo_ps_surface_create (./cairo.so) >> undefined symbol: cairo_pdf_surface_create (./cairo.so)

Re: [Plplot-devel] Cairo Driver Family

2007-06-04 Thread Hazen Babcock
On Jun 3, 2007, at 7:30 PM, Alan W. Irwin wrote: > On 2007-06-03 18:20-0400 Hazen Babcock wrote: > >> >> Hello, >> >> I've added the Cairo driver family to PLplot. This includes: >> >> xcairo (formally known as xwinttf). >> pdfcairo (PDF) >> pscairo (PS) >> svgcairo (SVG) >> pngcairo (PNG) >> mem

Re: [Plplot-devel] Cairo Driver Family

2007-06-03 Thread Alan W. Irwin
On 2007-06-03 18:20-0400 Hazen Babcock wrote: > > Hello, > > I've added the Cairo driver family to PLplot. This includes: > > xcairo (formally known as xwinttf). > pdfcairo (PDF) > pscairo (PS) > svgcairo (SVG) > pngcairo (PNG) > memcairo (MEM) > > Known issues: > 1. If you have Cairo but not X Wi

[Plplot-devel] Cairo Driver Family

2007-06-03 Thread Hazen Babcock
Hello, I've added the Cairo driver family to PLplot. This includes: xcairo (formally known as xwinttf). pdfcairo (PDF) pscairo (PS) svgcairo (SVG) pngcairo (PNG) memcairo (MEM) Known issues: 1. If you have Cairo but not X Windows your build will likely fail since I still haven't solved the pr