Phil, Changes have been done and I committed the whole lot. It was only 1 line in the end once I'd managed to debug the problem.
Andrew On Thu, Oct 11, 2012 at 04:01:09AM -0700, phil rosenberg wrote: > That's great that you've found this. I was starting to dispair. Will you make > the necessary change(s) to the patch or do you need me to do it? > ? > Phil > > > ________________________________ > From: Andrew Ross <andrewr...@users.sourceforge.net> > To: phil rosenberg <philip_rosenb...@yahoo.com>; > "plplot-devel@lists.sourceforge.net" <plplot-devel@lists.sourceforge.net> > Sent: Wednesday, 10 October 2012, 23:15 > Subject: Re: [Plplot-devel] Fw: wxWidgets driver and line breaks (fwd) > > 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 ------------------------------------------------------------------------------ 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