Re: [Plplot-devel] xcairo segmentation fault

2008-03-12 Thread Alan W. Irwin
On 2008-03-13 15:23+1030 Jonathan Woithe wrote: > I suspect there might be some issue going on between the different versions > of plplot on your system. It would be nice to pinpoint the exact cause. Hazen and Hez may be comparing apples and oranges. One result is the build-tree result. By des

Re: [Plplot-devel] xcairo segmentation fault

2008-03-12 Thread Jonathan Woithe
> On Wed, Mar 12, 2008 at 11:12 PM, Jonathan Woithe > <[EMAIL PROTECTED]> wrote: > > I agree. What about running ldd on /lib/plplot-*/cairo.so? > > Anything differences in this between the two working directories? > > > > The drivers are loaded dynamically on demand I think which is why the cai

[Plplot-devel] PLplot RGB(A) image support and 3D image support

2008-03-12 Thread Hezekiah M. Carty
Are there currently plans to add either of truecolor image support (photo as a plot background for example) or 3D oriented plimagefr support? If not, and there is an interest in including such functions in plplot, I would like to tackle those after getting the plimagefr coordinate transformation s

Re: [Plplot-devel] xcairo segmentation fault

2008-03-12 Thread Hezekiah M. Carty
On Wed, Mar 12, 2008 at 11:12 PM, Jonathan Woithe <[EMAIL PROTECTED]> wrote: > I agree. What about running ldd on /lib/plplot-*/cairo.so? > Anything differences in this between the two working directories? > > The drivers are loaded dynamically on demand I think which is why the cairo > librar

[Plplot-devel] (unfinished) plimagefr coordinate transform support

2008-03-12 Thread Hezekiah M. Carty
Attached is an initial attempt at adding coordinate transform support to plimagefr, similar to what is available in the plshade*, plcont, plmap and plmeridians functions. It is an unfinished attempt because it does not cover a few cases: 1. The xwin driver has "dev_fastimg" support and therefore

Re: [Plplot-devel] xcairo segmentation fault

2008-03-12 Thread Jonathan Woithe
> >> Curiously I found that if I ran my test program in the directory that > >> I had make install plplot from then I didn't see the problem. I have > >> the following the layout: > >> /home/hbabcock/C/plplot_test/test1 - the test program. > >> /home/hbabcock/OpenSource/plplot-working/plplot-CBS-1

Re: [Plplot-devel] plgfci / plsfci

2008-03-12 Thread Alan W. Irwin
On 2008-03-12 12:24- Andrew Ross wrote: > On Tue, Mar 11, 2008 at 05:26:49PM -0700, Alan Irwin wrote: >> [...]I like your additional idea to use PL_FCI_SANS, etc., rather than >> strings. >> Go for it. > > It is now implemented - there are new plsfont and plgfont functions > which provide a m

Re: [Plplot-devel] xcairo segmentation fault

2008-03-12 Thread Hezekiah M. Carty
I forgot to CC: the list... On Wed, Mar 12, 2008 at 10:17 PM, Hazen Babcock <[EMAIL PROTECTED]> wrote: > ldd looks normal (at least to me): > debian ~/C/plplot_test : ldd test1 > linux-gate.so.1 => (0xe000) > libplplotd.so.9 => /usr/local/lib/libplplotd.so.9 (0xb7eb2000) >

Re: [Plplot-devel] xcairo segmentation fault

2008-03-12 Thread Hazen Babcock
On Mar 11, 2008, at 10:51 PM, Jonathan Woithe wrote: >> The problem seems to start in the proc_str() function at: >> layout = pango_cairo_create_layout(aStream->cairoContext); >> though it makes through several more lines of code before going down >> for good. >> >> Curiously I found that if I ra

Re: [Plplot-devel] memcairo driver fixes

2008-03-12 Thread Hazen Babcock
On Mar 12, 2008, at 7:28 PM, Doug Hunt wrote: > Hi Hazen: > > The original 'mem' driver plotted into an unsigned char array with > size > 3 x height x width (thus no alpha channel). The cairo drivers plot > into > 32 bit RGB arrays (with an alpha channel). For the memcairo driver > (as a

Re: [Plplot-devel] memcairo driver fixes

2008-03-12 Thread Doug Hunt
Hi Hazen: The original 'mem' driver plotted into an unsigned char array with size 3 x height x width (thus no alpha channel). The cairo drivers plot into 32 bit RGB arrays (with an alpha channel). For the memcairo driver (as a first cut), I just copied in the 24 bits of RGB info into the 32 b

Re: [Plplot-devel] memcairo driver fixes

2008-03-12 Thread Hazen Babcock
On Mar 12, 2008, at 11:34 AM, Doug Hunt wrote: > Hi again, Hazen, all: I just noticed that the patch I sent > contains a bug. I used malloc where I ought to have used calloc in > one place. > > Would it be possible for me to get SVN access so I can just fix > this myself? I'd also like t

Re: [Plplot-devel] plimage patch to support fixed value -> color ranges

2008-03-12 Thread Alan W. Irwin
On 2008-03-12 17:21-0400 Hezekiah M. Carty wrote: > On Sun, Mar 9, 2008 at 9:38 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: >> "make validate" now shows no errors and your new documentation of plimage >> and >> plimagefr has now been committed as revision 8267. > > If I can make it work, I wou

Re: [Plplot-devel] plimage patch to support fixed value -> color ranges

2008-03-12 Thread Hezekiah M. Carty
On Sun, Mar 9, 2008 at 9:38 PM, Alan W. Irwin <[EMAIL PROTECTED]> wrote: > "make validate" now shows no errors and your new documentation of plimage and > plimagefr has now been committed as revision 8267. If I can make it work, I would like to make one further change to plimagefr - I would like

Re: [Plplot-devel] memcairo driver fixes

2008-03-12 Thread Doug Hunt
Hi again, Hazen, all: I just noticed that the patch I sent contains a bug. I used malloc where I ought to have used calloc in one place. Would it be possible for me to get SVN access so I can just fix this myself? I'd also like to look into the possibility of adding optional alpha channel su

Re: [Plplot-devel] plgfci / plsfci

2008-03-12 Thread Andrew Ross
On Tue, Mar 11, 2008 at 05:26:49PM -0700, Alan Irwin wrote: > On 2008-03-11 22:12- Andrew Ross wrote: > > > > >I like this idea. It might be more in keeping with other plplot > >functions to use the existing PL_FCI constants rather than strings. > >This still gives readable source code and is