Re: [ROOT] bad result with epstopdf

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Oct 22 2001 - 12:01:08 MEST


Hi Daniel,

Thanks for reporting this peculiarity. I can reproduce the problem.
We will investigate and will let you know.

Rene Brun

Daniel Barna wrote:
> 
> Hi Rooters,
> If I process the resulting 'test.eps' of the following macro through
> epstopdf, acroread will report an error on the PDF file:
> 
> "There was an error processing a page. Invalid restore"
> "An unrecognized token 'Tdq' was found"
> 
> However, if I change the
> h.SetFillColor(kBlack);
> line to
> h.SetFillColor(kBlue);
> then everything is fine.
> 
> I am using root version 2.25/03 on RedHat6.1
> 
> Maybe this helps to trace some hidden error. Or is this a bug of epstopdf,
> acroread, or the macro?
> 
> Daniel
> 
> -----------------------------
> {
> TCanvas c;
> 
> TH1F a("a","a",100,0,1);
> a.Fill(0.95,4);
> a.Draw();
> 
> TH1F h("h","h",100,0,1);
> h.Fill(0.3,4);
> h.Fill(0.31,4);
> h.Fill(0.32,4);
> h.Fill(0.33,4);
> h.Fill(0.34,4);
> h.SetFillStyle(3004);
> h.SetFillColor(kBlack);
> h.Draw("same");
> 
> c.SaveAs("test.eps");
> 
> }



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:03 MET