Re: [Plplot-devel] qt text positioning

2009-03-16 Thread Alban Rochel
Hi everyone, Alan W. Irwin wrote: > On 2009-03-13 19:27- Andrew Ross wrote: > > That explanation makes sense. Thanks! In fact, KDE-4.2 has a much better > reputation than KDE-4.1 so these color/text position rendering issues for > -dev svg results (as well as other SVG results) may already

[Plplot-devel] plstream.cc, xform recursion

2009-03-16 Thread Werner Smekal
Hi, in the process of removing all warnings the Visual C++ compiler put out (which turned out to be a good thing, since I could remove some (potential) bugs), I also found some problem in plstream.cc where I'm not sure what the purpose of the code is/was. The Visual C++ compiler puts out the f

Re: [Plplot-devel] plstream.cc, xform recursion

2009-03-16 Thread Arjen Markus
Hi Werner, is there any reference to an (example) linear transformation? If not, I'd say: remove it. It seems an attempt to call a similar C function, but I know of no such functionality ... I am inclined to repeat my suggestion also in the case there is a reference. Regards, Arjen On 2009-03-

[Plplot-devel] TestBrokenIsnanCXX on Visual C++ problems

2009-03-16 Thread Werner Smekal
Hi, we test in TestBrokenIsnanCXX.cmake if isnan is in either cmath or math.h - problem is Visual C++ doesn't pass this test, since the functions is called _isnan and not isnan. We test this already in plplot.cmake where we look for isnan or _isnan. The problem now is these are contradictory c

Re: [Plplot-devel] TestBrokenIsnanCXX on Visual C++ problems

2009-03-16 Thread Andrew Ross
Werner, Some history here. There were some unix platforms (AIX perhaps?) which at the time had C++ implementations that were behind the times, so although isnan was in math.h it was not in cmath. This test was to catch those. For modernish compilers I would suspect math.h and cmath to be in sync

Re: [Plplot-devel] plstream.cc, xform recursion

2009-03-16 Thread Andrew Ross
I don't recall explicitly adding this, so I imagine it was something that came from the previous incarnation of the C++ bindings. There is an example xform linear transformation in utils/xform.c. Perhaps this was originally in the main library. Actually bindings/swig/plplotcapi.i still also mentio

Re: [Plplot-devel] TestBrokenIsnanCXX on Visual C++ problems

2009-03-16 Thread Werner Smekal
Hi Andrew, for Visual C++ _isnan is defined in float.h and not in math.h and/or cmath. So this test is not valid for Visual C++ anyways, since _isnan isn't defined in either cmath or math.h. So it's maybe really the best to not run this test for Visual C++. Regards, Werner Andrew Ross wrote:

Re: [Plplot-devel] TestBrokenIsnanCXX on Visual C++ problems

2009-03-16 Thread Andrew Ross
Hi Werner, You are probably right. So long as the C++ bindings and examples work for you... Andrew On Mon, Mar 16, 2009 at 09:05:14PM +0100, Werner Smekal wrote: > Hi Andrew, > > for Visual C++ _isnan is defined in float.h and not in math.h and/or > cmath. So this test is not valid for Visua