Hezekiah M. Carty wrote:
> While doing some comparisons using the Qt and Cairo devices on my own
> plots, I noticed that the:
> 
> plsdev(something_cairo);
> plenv ...;
> plend();
> plsdev(something_cairo);
> plenv...;
> 
> sequence with Cairo output devices no longer gives segmentation faults
> on my Ubuntu Intrepid system using the latest PLplot SVN!  Previously,
> rendering text on a Cairo device in a new PLplot session after calling
> plend() for a previous Cairo PLplot session would lead to a
> segmentation fault.  The version of Cairo installed on my system has
> not changed since the last time I tested this, so it seems that
> something has changed in the PLplot sources to fix this.

I thought it might have something to do with the recent changes to cairo 
text handling, but unfortunately I have to report that I am still seeing 
the old behavior.

Could you try changing line 871 in drivers/cairo.c from:
pls->alt_unicode = 1;
to:
pls->alt_unicode = 0;
and see if you get the old behavior?

-Hazen

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to