RE: [ROOT] TPaveLabel

From: Philippe Canal (pcanal@popgtw.fnal.gov)
Date: Thu May 04 2000 - 00:49:00 MEST


Hi,

I have seen some similar problem with display root canvases with true
type font enable using the Exceed xserver on Windows NT (and running ROOT
on a remore unix box).  

To work-around the problem, you can either disable true type font in your
own .rootrc or in the confifuration panel of Exceed (Xconfig), double click
the video Icon (or use the menu item Settings/Video) and make sure that
ServerVisual (somewhere in the middle right) is set to PseudoColor.

Philippe.

> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
> [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Rene Brun
> Sent: Wednesday, May 03, 2000 2:32 PM
> To: Matthew Martin
> Cc: roottalk@pcroot.cern.ch
> Subject: Re: [ROOT] TPaveLabel
> 
> 
> Hi Mat,
> I cannot reproduce this problem with either 2.23/12 or 2.24.
> I do not see any changes in TPabeLabel between 2.23/11 and 2.23/12.
> 
> Could I get a confirmation from other users that this simple macro
> below works if they use 2.23/11 ?
> 
> Note that the official release was 2.23/12 and not 2.23/11.
> 
> Rene Brun
> 
> 
> On Wed, 3 May 2000, Matthew Martin wrote:
> 
> > Hi,
> > 
> > in 2.23/11 when I do:
> > 
> > 
> > {
> > TH1F *histTest = new TH1F("histTest","Pt dist for all tracks",300,0,4);
> > TPaveLabel *myLabel = new TPaveLabel(0.4,0.65,0.7,0.85,"..","NDC");
> > TCanvas *c5 = new TCanvas("c5","Pion mass check",10,10,500,500);
> > c5->cd(1);
> > myLabel->Draw();
> > }
> > 
> > 
> > it works
> > 
> > 
> > but
> > 
> > 
> > 
> > {
> > TH1F *histTest = new TH1F("histTest","Pt dist for all tracks",300,0,4);
> > TPaveLabel *myLabel = new TPaveLabel(0.4,0.65,0.7,0.85,"BOO","NDC");
> > TCanvas *c5 = new TCanvas("c5","Pion mass check",10,10,500,500);
> > c5->cd(1);
> > myLabel->Draw();
> > }
> > 
> > 
> > 
> > produces:
> > 
> > root [1] Error in <RootX11ErrorHandler>: BadValue (integer parameter out
> > of range for operation) (XID: 15132390)
> > 
> > 
> > cheers
> > 
> > Mat
> > 
> 
> 



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:24 MET