Hi Christian, Thanks for your example. I have tried it with ROOT 4.01/01 on my linux machine. I have generated a PDF file from the "File" pull down menu in the canvas menu bar. I can visualize the generated file without any problems with: acroread version 5 and gv on my linux machine and with acrobat reader version 6 on an XP machine. Note that I saw the problem with the file test.pdf you previously sent me (you had generated it with ROOT 4.00/08). Looking at the recent changes in TPDF, I do not see one which could have fixed a such problem. It is difficult for me to debug this without a macro reproducing the it, because the error message you get comes from a binary compressed part of the PDF file. So to debug it I need to regenerate the file without compression. Cheers, Olivier On Mon, 19 Jul 2004, cstrato wrote: > Dear Olivier > > Enclosed is a short macro and the input data. Initially, I > could not reproduce the problem with pdf, but when I added: > gStyle->SetPalette(1,0); > then the problem is reproducible. > > Best regards > Christian > > > Olivier Couet wrote: > > Hi, > > > > I cannot reproduce this problem with the examples I have. Can you send a > > small macro reproducing it ? > > > > Cheers, O.Couet > > > > > > On Fri, 16 Jul 2004, cstrato wrote: > > > > > >>Dear Rooters > >> > >>There seems to be a problem saving TH2 as pdf file. > >>When using the option SCAT everything is fine, but > >>using the option COLZ results in an incomplete file. > >>Adobe Reader 6.0 for Mac OSX gives the following error: > >>"An unrecognized token ´7.94729e-08´ was found. > >> > >>For demonstration purposes I am attaching the saved > >>file test.pdf. As control I have also saved the same > >>TH2 as test.ps, which gives the correct output. > >>Please note that Apple´s Preview application converts > >>the file test.ps to pdf before opening it. This converted > >>file is displayed correctly. > >> > >>Best regards > >>Christian > >>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > >>C.h.r.i.s.t.i.a.n. .S.t.r.a.t.o.w.a > >>V.i.e.n.n.a. .A.u.s.t.r.i.a > >>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > >> > >> > > > > > -- Org: CERN - European Laboratory for Particle Physics. Mail: 1211 Geneve 23 - Switzerland Mailbox: J25910 E-Mail: Olivier.Couet@cern.ch Phone: +41 22 7676522 WWW: http://cern.ch/Olivier.Couet/ Fax: +41 22 7677155
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET