test_circle.py has been around for a while, but today (revision 10234) I
added two other python scripts to test rendering for our devices.  See
examples/README.rendering_tests for details.  Note especially that it is
fairly pointless to propagate these tests to other languages since fairly
rapid changes and additions to these tests are expected.

One of the recent additions is called test_superscript_subscript.py which
tests nested superscripts and subscripts as well as simple superscripts and
subscripts for both Greek and Roman letters.  You run this script by
changing directory to the build-tree or install-tree version of
examples/python, then executing, e.g.,

./test_superscript_subscript.py -dev xwin -cmap0 cmap0_black_on_white.pal

-dev xwin and -dev svg (when the result is rendered with the the ImageMagick
"display" application) passes this test with flying colours.  Also, -dev
wxwidgets (wxGC) gets the vertical positioning right (although as with many
other examples, there are horizontal spacing issues with wxwidgets for this
example).  The pdf, qt, and cairo devices do not give correct results for
this example. I will take responsibility for dealing with this issue for the
pdf and qt devices, and I have asked Hazen off-list whether he would be
willing to take responsibility for this issue with the cairo devices.
Probably other devices will also have problems giving properly rendered
results for this test script so please check your favorite devices and fix
any vertical positioning issues or font-size issues that you find this way.

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

Reply via email to