On 2009-07-15 14:57-0400 Hezekiah M. Carty wrote:

> In the case of the wxGC driver, from looking at the driver source and
> the plot output, I think the reason it works is that it does not do
> any text clipping.  The output from the wxwidgets driver with a
> non-zero orientation seems to be the same as the xcairo output with
> text clipping disabled.  I am not familiar with the wxwidgets driver
> though, so I may be misunderstanding this somewhat.

I agree with your conclusion.  If you try a really large character size such
as plschr(0., 3.) for example 1 and -dev wxwidgets, the upper titles overlap
rather than getting clipped at the subpage boundary.  (The lower titles have
a different device-driver problem with offset, for some reason.) I am sure
Werner will want to correct both the text clipping issue and the text
displacement issues eventually, However, I don't view those issues as
showstoppers since wxwidgets (wxGC) is not really mature yet in contrast to
the qt, cairo, and svg devices which are our showcase devices.  (BTW, I
think wxwidgets has great potential to also become one of our showcase
devices, but Werner may have to make his wxwidgets life much easier by
throwing out the fundamental and agg modes and concentrating exclusively on
wxGC.

A similar test for plschr(0., 2.) shows -dev xwin and -dev psttfc do text
clipping at the sub_page boundary.  That is, under these conditions the
lower titles are clipped rather than overlapped with each other.  Both
devices also work for the case when the -ori option is non-zero.  -dev xwin
does text clipping properly because Hershey fonts are simply drawn by the
PLplot core where clipping of all drawing has long since been done properly.
However, -dev psttf relies on the LASi library to help it render unicode
fonts.  So it definitely does the correct job of non-core driver-based text
clipping at sub-page boundaries.

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

Reply via email to