On 2010-01-18 22:08-0800 David MacMahon wrote: > Is there any way to test whether the current driver is unicode > capable? I ask because running "x23c -dev xwin" results in plot > captions that start with "0x10>PLplot Example 23". Running with the > xcairo device results in beautiful symbols and fonts. Is the xwin > behavior unique to my build of PLplot or is that the standard/ > expected behavior?
Standard/expected, see below. > If it's standard xwin behavior, I could see (from > a developer perspective) wanting to be able to determine whether the > user-selected driver is unicode-capable. Look for dev_unicode in the source files in drivers. You will see it is set to true for Unicode-aware drivers and is either false or not set at all (which is equivalent to false) for our traditional drivers that use Hershey fonts such as xwin. Thus, after the driver is initialized you should be able to test dev_unicode in the current stream in C, and after we finalize the current experimental getter-setter API for C and propagate it to our other languages, I believe you will be able to test dev_unicode in the current stream for any of our languages. 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 __________________________ ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general