On 2009-03-06 09:51-0000 Alban Rochel wrote: > Hi Alan, > > Sorry for not properly quoting the relevant parts of your e-mails, but > when I registered to the plplot-devel list I chose to receive e-mails as > a digest, and I haven't received it yet. I have read your messages on > the sourceforge archive for the mailing list. I've changed that in my > registration settings, so the next messages will be more readable. > > Now for your suggestions, remarks and questions: > > "The big issue I noticed at this time is I cannot get -dev qtwidgets to > work. Here are the symptoms (when run in the installed examples directory)." > Actually, qtwidget was not supposed to work directly from the console (a > bit like the mem device, that requires a specific initialisation). I was > about to explain you why it was impossible, but now I'm wondering if > this wouldn't be possible in fact (I'm still a bit focused on how it > works on QSAS!). I'll make a couple of tests and keep you in touch :) > > "I have implemented this change as of revision 9678 and -dev epsqt and > -dev pdfqt work as expected regardless of file suffix. > As most on this list know, my C++ skills are not as good as my C skills. > :-)" > I'll have a look at that! I can do the same for rasterqt if you wish.
Thanks for dealing with both issues after you sent the above post. I have committed your latest patch as revision 9679. I tested that revision as follows: In the build tree I used the cmake options -DPLD_bmpqt=ON -DPLD_jpgqt=ON -DPLD_pngqt=ON -DPLD_ppmqt=ON -DPLD_tiffqt=ON -DPLD_svgqt=ON -DPLD_epsqt=ON -DPLD_pdfqt=ON -DPLD_qtwidget=ON In the installed examples tree I did the following: /home/software/plplot_install_test/examples softw...@raven> c/x01c -dev jpgqt -o test.whatever PLplot library version: 5.9.2 softw...@raven> identify test.whatever test.whatever JPEG 842x598 842x598+0+0 DirectClass 8-bit 84.0762kb softw...@raven> display test.whatever softw...@raven> c/x01c -dev bmpqt -o test.whatever PLplot library version: 5.9.2 softw...@raven> display test.whatever softw...@raven> identify test.whatever test.whatever BMP 842x598 842x598+0+0 DirectClass 8-bit 1.44176mb softw...@raven> display test.whatever softw...@raven> c/x01c -dev pngqt -o test.whatever PLplot library version: 5.9.2 softw...@raven> identify test.whatever test.whatever PNG 842x598 842x598+0+0 DirectClass 8-bit 84.2676kb softw...@raven> display test.whatever softw...@raven> c/x01c -dev ppmqt -o test.whatever PLplot library version: 5.9.2 softw...@raven> identify test.whatever test.whatever PNM 842x598 842x598+0+0 DirectClass 8-bit 1.44058mb softw...@raven> display test.whatever softw...@raven> c/x01c -dev tiffqt -o test.whatever PLplot library version: 5.9.2 softw...@raven> identify test.whatever test.whatever TIFF 842x598 842x598+0+0 DirectClass 8-bit 1.92089mb softw...@raven> display test.whatever softw...@raven> c/x01c -dev qtwidget PLplot library version: 5.9.2 softw...@raven> c/x08c -dev qtwidget softw...@raven> c/x08c -dev pngqt -o test.png softw...@raven> c/x16c -dev pngqt -o test.png The only minor issues I noticed with this light testing is that (1) antialiasing appears to be turned off for -dev qtwidget, and (2) handling different pages of examples for the qt file devices is handled in an ideosyncratic way I assume (1) is just an oversight that should be easy to fix. To give specifics for (2), The files produced were test.png test_page2.png test_page3.png test_page4.png test_page5.png test_page6.png test_page7.png test_page8.png PLplot has its own way of dealing with this so the file names for, e.g., c/x08c -dev pngqt -fam -fflen 2 -o test%2.png come out as test01.png, test02.png, etc. I will take responsibility for getting this PLplot method of dealing with "familied" file names to work for the qt device. I also noticed that antialiasing looks good for example 8 and 16 for the file related devices. Those examples demonstrated an antialiasing issue for the cairo devices that we recently had to fix, and I am glad to see there is no such issue for device qt. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
