On 2009-07-15 11:35-0400 Hezekiah M. Carty wrote: > As of now, I don't think any of Cairo, Qt or SVG properly support > proper text clipping for plot rotations. The test case you mention > shows similar incorrect clipping/missing text results for those > devices as well. > > One possible fix for this is to add driver-level rotation and clipping > support. Qt and Cairo should support this in a fairly straightforward > manner and I think SVG would as well. If the drivers are allowed to > handle the rotation and clipping then support for arbitrary plot > rotations should be "free" after this is implemented. The PLplot > internals could treat the plot as unrotated, leaving the rest to the > plot device. Based on some short experiments with Cairo, I do not > think that the driver changes would be too invasive. This may require > some invasive internal PLplot changes though, so I do not know if it > is something which should be done now or post-5.9.5/5.10.0
Hi Hez: I independently discovered (our posts concerning this occurred at roughly identical times) the additional qt, and svg text clipping issues as well. However, since we have Hershey as well as non-Hershey devices that do this right, I don't believe this is a core issue at all. (BTW, I should have mentioned that the wxwidgets case that worked was the wxGC one. That's the version that is automatically picked [and identified in the title bar of the plot GUI] if you have a recent version of wxwidgets installed. I don't know about the other wxwidgets cases, but I don't care since the wxGC version is the one that will eventually prevail when everybody updates to recent wxwidgets versions.) I do agree that the Qt, Cairo, and SVG fixes should be straightforward since all that is required is to rotate the text clipping region appropriately. However, one obviously needs to have good knowledge of the coordinate transformation between internal PLplot coordinates and the qt, cairo, or svg coordinates in order to do the fix. Finally, I believe this is an important bug (I often use -ori 1 in my research plots) since the qt, cairo, and svg devices comprise our "best" devices. Therefore, I think we need to give these fixes high priority (i.e., delay the release for the fixes, although I hope that won't be necessary since the fixes should be straightforward if you are knowledgable about the required coordinate transformation). 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 __________________________ ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel