[Fwd: Re: [gl2ps] PDF production problems]

Guy Barrand barrand at lal.in2p3.fr
Sun Dec 19 08:43:22 CET 2004


Le 19 déc. 04, à 04:04, Christophe Geuzaine a écrit :

    Hello Micha

>
>
> De: Micha Bieber <krischnamurti at users.sourceforge.net>
> Date: 19 décembre 2004 00:02:47 GMT+01:00
> À: gl2ps at geuz.org
> Objet: Rép : [gl2ps] PDF production problems
>
>
> Hallo Guy,
>
> This looks like a premature call to gl2psEndViewport to me. At least,
> your PDF seems to contain exactly one graphics state restore too much
> (If you will fix this, replace the first single letter 'Q' after the
> sequence "/GSa gs" in your example provided file by '%' with a _binary_
> editor). The mentioned function is the only one in gl2ps, producing a
> 'Q' in this context.

   You were right for the bad balance Begin/EndViewport. I have corrected
that, and now the PDF viewer of the Mac does not crash anymore ; but 
anyway
some problems remain. Mainly all the lines seems ok (including linw 
width
and line pattern), the text too (treated as bitmaps in my things) but 
all the solids
are out !  Any idea ?

   I have attached two files (e.ps and e.pdf) to demonstrate that. The 
e.ps
is displayed ok with ghostview, but the e.pdf lacks the solids with 
both "Apercu"
and xpdf on a Linux.

    Thanks for the help.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1435 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gl2ps/attachments/20041219/5084a42c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e.pdf
Type: application/pdf
Size: 98863 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gl2ps/attachments/20041219/5084a42c/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e.ps
Type: application/postscript
Size: 175068 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gl2ps/attachments/20041219/5084a42c/attachment.ps>
-------------- next part --------------



     Guy

-------------------------------------------------------------
Guy Barrand. eXtreme debugger.
   LAL
   Universite de Paris-Sud
   B.P 34
   91898 ORSAY CEDEX France

e-mail: barrand at lal.in2p3.fr
Tel: +33 (1) 64 46 84 17
Fax: +33 (1) 69 07 94 04

office at cern: B01-R001
Tel at cern: 41 22 76 72335
-------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 437 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gl2ps/attachments/20041219/5084a42c/attachment-0001.bin>