[Fwd: Re: [gl2ps] PDF production problems]
Guy Barrand
barrand at lal.in2p3.fr
Mon Dec 20 19:21:00 CET 2004
Le 19 déc. 04, à 21:19, Christophe Geuzaine a écrit :
Hello
> Shai Ayal wrote:
>> on my WinXP both acroread 6 for the pdf file & gsview for the eps
>> file show a similar scene with solids -- I guess this is a viewer
>> issue and
On my Windows (Acrobat reader 6 too) I dont't see the solids !!!!
I have a dialog box with (in French) "Erreur dictionnaire ombrage"
(then clearly some shading problem).
>
> Yes, it's because Apple's PDF viewer does not support '/ShadingType
> 4'. I think someone on the list submitted a bug report to Apple about
> that last year, but I guess it couldn't hurt to submit a new one.
Huum my xpdf on Linux does not display the solids.
Then it is more general than an Apple problem.
>
> Another solution would be to use the same trick as in PostScript,
> i.e., provide the option to subdivide the triangles instead of using
> the shading stuff.
Seems a good idea...
Cheers
>
> Christophe
>
>
>
>> not a gl2ps issue
>> Shai
>> Guy Barrand wrote:
>>>
>>>
>>> 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.
>>>
>>>
>>>
>>>
>>>
>>>
>>> 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
>>> -------------------------------------------------------------
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> ---
>>>
>>> _______________________________________________
>>> gl2ps mailing list
>>> gl2ps at geuz.org
>>> http://www.geuz.org/mailman/listinfo/gl2ps
>> _______________________________________________
>> gl2ps mailing list
>> gl2ps at geuz.org
>> http://www.geuz.org/mailman/listinfo/gl2ps
>
>
> --
> Christophe Geuzaine
> Applied and Computational Mathematics, Caltech
> geuzaine at acm.caltech.edu - http://geuz.org
>
>
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
-------------------------------------------------------------