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 sheared

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 everything

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 this

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 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 quite

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 aware of.

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 Preview on

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 bounding box

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 which you plan

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 plOpenFile it

Re: [Plplot-devel] Cairo Driver Family

2007-08-03 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 following

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) undefined symbol:

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 or

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 is displayed)

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) memcairo (MEM) Known

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) undefined

[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

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 Windows your