On 2010-10-05 15:18-0700 Alan W. Irwin wrote:

> Note also these Greek-letter variations are all available in the same
> font.  So it is not a matter of suddenly changing fonts in the middle
> of a string. Instead, it is using the same font with different Hershey
> and therefore UCS4 indices representing different variant forms of
> Greek letters depending upon what the user wants to do.

Hi Steve:

Having slept on this, the lesson I take away from this is I should
always mention any changes in the Hershey to unicode transformation
table and the implications of that in the release notes.  But
hopefully I have nailed it now and there will be no more such changes.
Furthermore, I think your best workaround is not to fiddle with the
Hershey to unicode transformation yourself (since that implies you
would have to patch PLplot indefinitely), and instead let your users
know there have been some changes in the Hershey to unicode
transformation table, and they should look at example 7 results at
http://plplot.sourceforge.net/examples.php?demo=07 (which is the cairo
result) or run example 7 with -dev qtwidget for themselves for
guidance about which Hershey indices to use.

I have also thought a bit more about the planned plglyph argument
list, and I have decided the last argument should be a text string
like that used in plptex rather than a UCS4 index.  IOW, plglyph would
be a simple wrapper for repeat calls to plptex for each element of the
x and y arrays.  The advantage of this approach is it gives the user
great flexibility in specifying the glyph and font following all the
many different methods in
http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.7/characters.html.
It also allows the user to specify more than one glyph in the string
to be plotted at each of the x, y points if they wanted that, but that
would be an extremely unusual use case.

Because of this proposed change in the argument list, the planned
plglyph should make accessible all the glyphs available from plpoin
(except for the special code=-1 point "glyph" which I doubt is used
very much because it might be problematic for some devices and because
our DocBook documentation does not mention this capability), all the
glyphs available from plsym, and all the huge number of glyphs (a
million of them?) that gucharmap shows are available on your system.

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
__________________________

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to