Just for information, there was indeed an issue with superscripts/subscripts in the Qt driver (floating point precision issue on a test), which was fixed in the latest patch: so this was intentional and not just a side effect of something else :)
Alban PS : Alan, I've received an error message from your e-mail server when replying to your previous mail. In case you didn't receive anything, I just re-paste it (and by the way, I've just noticed that I called you Andrew... Sorry!): Hello Andrew, I will modify qt_example to show the deep copy in the next patch, no problem. As for your suggestion of using an overloaded repaint(), I'm afraid it's not that easy, as any call to the plot function will cause the whole buffer to be "replayed" anyway. I think about using a pointer to the last plotted element in the buffer and "replay" the buffer from this point, rather than from start, between 2 flushes. But even though this could seem simple, it will require some redesign for the other parts of the QtPLDriver class: iit will have to decide when to replot everything from scratch - after a resize for example -, when to replot from the last flush - after a flush()-, and when to keep the old plot and add information over this - the crosshairs from the interactive selection example in qt_example. I'm not going to work on this now (I'm working on QSAS), maybe next week or the week after. Alban ________________________________________ De : plplot-devel-boun...@lists.sourceforge.net [plplot-devel-boun...@lists.sourceforge.net] de la part de Alan W. Irwin [ir...@beluga.phys.uvic.ca] Date d'envoi : vendredi 21 août 2009 16:58 À : Hazen Babcock Cc : PLplot development list Objet : Re: [Plplot-devel] Python rendering tests On 2009-08-20 09:32-0700 Alan W. Irwin wrote: > There is no difficulty with this latest version of the example either for > -dev svg (when viewed by "display") or -dev xwin so I suspect there must > still be some off-by-one logic error in superscript/subscript level in > cairo.c that is causing the issues you can see for this example for -dev > xcairo. Hi Hazen: Here is some extra relevant information I discovered this morning. examples/python/test_superscript_subscript.py -dev qtwidget works perfectly! Although I don't recognize anything relevant in Alban's patch that Andrew committed, it appears that some change he did solved all the superscript/subscript issues that appeared before. The same example works OK for -dev psc and -dev psttfc and works (with regard to font size issues and vertical offsets, but not horizontal offsets which generally have issues for this device in any case) for -dev wxwidgets (wxGC). Thus, the only cases I am aware of where this example doesn't have correct font scaling or vertical offsets are pdf (font scaling) and cairo (vertical offsets). 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 __________________________ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel