Alan W. Irwin wrote: > Hi Hazen: > > I have found a text bug that affects -dev xcairo. To demonstrate the bug run > any example with -dev xcairo and change focus off the window and back or > make an attempt to resize the window. On Linux, at least, all the text > disappears from the window created by xcairo.
I think that the fact that it worked with the old text rendering was more of a feature :). Seriously though, this just highlights one of the problems with the xcairo driver, which is that it does not actually handle any xwindows events, such as redraw or resize itself. The fact that it even redraws the plots at all, often in a very strange flashing fashion if the plot has lots of points, is just a fortuitous coincidence and is I believe entirely dependent on the users X windows system. I wouldn't be surprised if OS-X or Windows users saw very different behaviors. So the question is do we want the xcairo driver to be a fully functioning X Window? This is possible but not entirely trivial. Looking at the xwin driver it seemed to me that most of the code (50%+? of a 3.5k line file) was related to dealing with X Windows. At the time this did not appeal to me since people who wanted resizable plots, etc, probably wanted them in the context of there own windowing scheme and could get that behavior much more cleanly with the Jonathan's external XDrawable extension to the xcairo driver or using the extcairo driver and GTK. However, I can see that there might be command line users of PLplot who want the driver to do more of its own window management. -Hazen ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
