On 2010-06-29 20:38+0100 Steve Schwartz wrote:

Hi Steve:

Unless someone else beats me to it, I will attempt to answer your symbol 17
question later once I have had time to investigate.  Meanwhile, your
further question below is something I can answer immediately.

> In exploring, I have also discovered that the qt driver doesn't treat
>
> plsc->dev_hrshsym = 1
>
> and
>
> plsc->dev_unicode = 0
>
> in the same way. Using the latter in a loop with symbol 18 (filled star)
> crashes sample code, whereas the former runs as expected. Sorry, I know
> I should send some sample code (and I can send my hacked x01c if someone
> wants it) and some output from a debugger, but I'm pressed for time.

Normally plsc->dev_unicode = 0 and plsc->dev_unicode = 1 should be set only
by drivers and not by code outside drivers because it indicates whether the
driver is implemented for Hershey fonts or modern fonts.  Thus, when you
forced the issue by setting plsc->dev_unicode = 0 for a driver that had
specified plsc->dev_unicode = 1, I am not surprised you got crashes.

Of course, it should be relatively trivial to implement Hershey capability
as an option for any driver that is currently advertises itself as
plsc->dev_unicode = 1.  For example, I think this has actually occurred for
the gcw device.  However, I would view that as a retrograde step since in
general, modern fonts have many more glyphs available than Hershey fonts.
Thus, I would prefer to fix any problems (e.g., the symbol 17 problem you
just found) when using modern fonts.

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
__________________________

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to