On Mon, Oct 01, 2012 at 10:05:41AM +0100, Andrew Ross wrote: > On Mon, Oct 01, 2012 at 09:51:38AM +0100, Andrew Ross wrote: > > > > Hi Phil, > > > > I don't have AGG currently so haven't tested that (I'll try later). > > The basic backend (backend=0) is fine (see attached screenshot). The > > problems are with the wxGraphicsContext backend (backend=1). > > Sorry backend=2 not backend=1. > > > > > I'm using your v2 patch with the current svn.
Phil, I've got to the bottom of the problem. Turns out that at least on my version of wxwidgets the function GetTextExtent doesn't update the width if the string length is zero (as is the face for a FCI code). Setting the width to zero before calling GetTextExtent cures the problem for me and should have no adverse impact. Now I've got to the bottom of this I'll go ahead and commit your patch. Thanks, and sorry its taken so long to debug. Andrew ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel