| 
      
      
      From: Gudjon I. G. <gu...@mc...> - 2007-05-07 08:03:37
       | 
| Hi My name is Gudjon and I have made a Debian package out of QwtPlot3d that= is=20 already in the distribution. It is great that the work on the library will resume, I look forward to= =20 that but I have a question. I dislike having 3dparty libraries within packages since Debian has the= =20 dependency framework that lets one package install another. Gl2ps in=20 QwtPlot3d is also an old version of the library. I tried to compile QwtPlot= 3d=20 against the new version and got the following result: src/qwt3d_io_gl2ps.cpp:377: error: cannot convert =E2=80=98GLfloat*=E2=80= =99 to =E2=80=98GLfloat=E2=80=99 for=20 argument =E2=80=985=E2=80=99 to =E2=80=98GLint gl2psTextOpt(const char*, co= nst char*, GLshort, GLint,=20 GLfloat)=E2=80=99 The last argument has changed to angle in the gl2ps library. So with this u= gly=20 change the new library works. diff src/qwt3d_io_gl2ps.cpp.org src/qwt3d_io_gl2ps.cpp 377c377,378 < ret =3D gl2psTextOpt(str, fontname, (int)fontsize, a, 0); =2D-- > //ret =3D gl2psTextOpt(str, fontname, (int)fontsize, a, rgba2); > ret =3D gl2psTextOpt(str, fontname, (int)fontsize, a, 0);//rgba2); Has anyone fixed this in a more beautiful way? Regards Gudjon | 
| 
      
      
      From: Micha B. <kri...@us...> - 2007-05-07 09:40:19
       | 
| Monday, May 7, 2007, 10:03:27, Gudjon I. Gudjonsson wrote: > I dislike having 3dparty libraries within packages since Debian has the > dependency framework that lets one package install another. One of the policies of qwt3d was/is self-containment. I always liked the idea of dropping in source code into my projects instantly, so the library was designed with a single dependency (Qt) in mind. Even gl2ps himself follows this strategy and so it became part of the qwt3d source tree (the gl2ps license (http://www.geuz.org/gl2ps/COPYING.GL2PS) allows static linking). > Gl2ps in QwtPlot3d is also an old version of the library. [...] > Has anyone fixed this in a more beautiful way? My proposal for the moment is a patch release 0.2.6.1 (or 0.2.7), updating the included gl2ps to the recent release (I used this rather ad-hoc procedure during the past a few times). Would this be helpful? Micha -- | 
| 
      
      
      From: Gerard V. <ger...@gr...> - 2007-05-07 10:17:48
       
        
          
            Attachments:
            TestNumeric.pdf
          
            
            TestNumeric.png
          
        
       | 
| On Mon, 7 May 2007 11:38:35 +0200 Micha Bieber <kri...@us...> wrote: > Monday, May 7, 2007, 10:03:27, Gudjon I. Gudjonsson wrote: > > > I dislike having 3dparty libraries within packages since Debian > > has the dependency framework that lets one package install another. > > One of the policies of qwt3d was/is self-containment. I always liked > the idea of dropping in source code into my projects instantly, so the > library was designed with a single dependency (Qt) in mind. Even gl2ps > himself follows this strategy and so it became part of the qwt3d > source tree (the gl2ps license > (http://www.geuz.org/gl2ps/COPYING.GL2PS) allows static linking). > > > Gl2ps in QwtPlot3d is also an old version of the library. > [...] > > Has anyone fixed this in a more beautiful way? > > My proposal for the moment is a patch release 0.2.6.1 (or 0.2.7), > updating the included gl2ps to the recent release (I used this rather > ad-hoc procedure during the past a few times). > Micha, I have 2 problems with respect to pdf output: 1. it looks as if the pdf output is mirrored with respect to the computer screen (depth?). See the attached files: the png file looks fine contrary to the pdf file. 2. the above files have been generated with Qt-3. I am getting crashes and X-server messages when using Qt-4. Note: the problems occur at least on several Linux systems with QwtPlot3D wrapped by PyQwt3D. This may be the reason for the second problem, but IMO not for the first. Gerard | 
| 
      
      
      From: Micha B. <kri...@us...> - 2007-05-19 23:06:59
       | 
| Monday, May 7, 2007, 12:18:00, Gerard Vermeulen wrote: > I have 2 problems with respect to pdf output: > 1. it looks as if the pdf output is mirrored with respect to the > computer screen (depth?). See the attached files: the png file > looks fine contrary to the pdf file. It's of course a feature :-). The VectorWriter classes 'AUTO' mode (default) rotates the output for aspect ratio's with width > height. This can be turned off with VectorWriter::setLandscape(OFF). The idea behind the default behavior should select the IMO most probable case for printed output. > 2. the above files have been generated with Qt-3. I am getting > crashes and X-server messages when using Qt-4. Have still to test it on Linux, but todays snapshot of QtWin 4.3 (commercial - no X-Server of course) works well here. Micha -- | 
| 
      
      
      From: Micha B. <kri...@us...> - 2007-05-19 23:09:57
       | 
| > < ret = gl2psTextOpt(str, fontname, (int)fontsize, a, 0); gl2ps 1.3.2 has been included and fixed the problem. Note however, that the current order schemes of gl2ps (all of them - btree and normal) seem to slow down the rendering speed horribly. I'll check this. Micha -- | 
| 
      
      
      From: Gerard V. <ger...@gr...> - 2007-08-07 10:09:42
       | 
| On Sun, 20 May 2007 01:09:56 +0200 Micha Bieber <kri...@us...> wrote: > > < ret = gl2psTextOpt(str, fontname, (int)fontsize, a, 0); > > gl2ps 1.3.2 has been included and fixed the problem. Note however, > that the current order schemes of gl2ps (all of them - btree and > normal) seem to slow down the rendering speed horribly. I'll check > this. I noticed that gl2ps compiled with MinGW is much much (it feels like a factor 10) slower on Windows than on Linux or Mac OS X. In fact, I see no reason not to choose highest quality on Linux or Mac OS X. Gerard |