Hi Scott, I have fixed these two problems in 2.21/07. Rene Brun S. P. Wakely wrote: > > Hi ROOTers, > > I think the following macro demonstrates a problem with Postscript > output for some TStyle members. It seems to me that both output files > should be identical, but the first one contains extra Postscript > commands and draws a thin red line on the Frame inside the upper and > leftmost sides. > > While I am at it, check out the size of the Title border in the > Postscript output. On the screen output, it correctly has only a > single line without a drop shadow, but on the PS output, the border > size has reverted to a drop shadow. > > This happens with Root 2.21/06 on NT and DEC/Alpha/Unix/CXX6. > > Can anyone confirm? > Thanks, > Scott > > { > gROOT->SetStyle("Plain"); > gStyle->SetFrameBorderMode(0); > gStyle->SetTitleBorderSize(1); > > TH1F *h = new TH1F("h","Test",10,0,10); > TCanvas *c1 = new TCanvas("c1","Test",2); > c1->cd(); > h->Draw(); > > TCanvas *c2 = new TCanvas("c2","Test",2); > c2->cd(); > h->Draw(); > c2->GetFrame()->SetBorderMode(0); > //////////////////////////////////////////////////// > c1->Print("Test1.ps"); > c2->Print("Test2.ps"); > > }
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:29 MET