Re: [ROOT] PostScript Problem

From: Olivier Couet (Olivier.Couet@cern.ch)
Date: Wed Jul 04 2001 - 15:51:42 MEST


 Hi,

 PAW PS files are very similar to ROOT PS files. I have just tried to
reproduce your problem with a PAW file with:

PAW > meta 10 -111
PAW > nul 0 10
PAW > nul 0 20
PAW > close 10

 Like the ROOT PS File the PAW file ended with:

showpage
 gr 
%%Trailer
%%Pages: 2
 gr  gr 
%%EOF

 I have tried to go back and forth in the file with gv and all is fine.
There is no image corruption. Can you send the complete file having this
problem ?

 O.Couet

--
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                                    
E-Mail: Olivier.Couet@cern.ch                      Phone: +41 22 7674886
WWW:    http://cern.ch/Olivier.Couet/              Fax:   +41 22 7677155

On Wed, 4 Jul 2001, Thomas Kluge wrote:

> Hello Rooters,
> 
> I experience the same problem as Stefan Stonjek described in his posting
> "http://root.cern.ch/cgi-bin/print_hit_bold.pl/root/roottalk/roottalk00/3361.html"
> at 7.12.2000. (.ps file produced by ROOT more than 1 page, going back and forth the pages in gv
> viewer leads to corrupt display). I didn't found an answer to this yet.
> 
> I'm ignorant of the postscript language, but played around with the .ps
> file and I guess now that the problem is somehow related to the end of
> the file.
> 
> Changing
> 
> -------------------------
> showpage gr
>  gr
> %%Trailer
> %%Pages:  2
>  gr  gr
> %%EOF
> --------------------------
> 
> to
> 
> -------------------------
> showpage gr
> %%EOF
> --------------------------
> 
> seemed to cure the strange behaviour in gv (or ghostview). But a colleague
> couldn't reproduce my "discovery". Any ideas?
> 
> Best Regards,
> 
> Thomas
> 
> P.S.  Using ROOT 3.00_06, linux
> 
> ------------------------------------------------------------------
> Thomas Kluge                  Telephon:   +49(40)8998-4551
> DESY, 1d33                    Telefax:    +49(40)8998-4385
> Notkestr. 85                  GSM:        +49(179)2243365
> D-22607 Hamburg ------------- e-mail:     thomas.kluge@desy.de ---
> 
> 
> 



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