I have recently (revision 11783) implemented plP_script_scale whose purpose is to consolidate in one place the calculations of scale factors for the font size and magnitude of the vertical offset associated with superscripts and subscripts. I now use this function for the superscript/subscript calculations for the Hershey fonts. plP_script_scale produces completely consistent magnitudes of the vertical offsets for subscripts and superscripts so this change corrects a long-standing (since prior to 1993) error in the subscript offset for Hershey fonts whose magnitude was 0.75 of the corresponding superscript offset. To check out what the new Hershey offsets look like for a variety of superscript/subscript levels, please run the python script,
examples/python/test_superscript_subscript.py -dev xwin I plan to convert all our remaining non-Hershey device drivers (starting with cairo and qt) to also use plP_script_scale. 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 __________________________ ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel