At 10:32 AM 11/14/2001 +0100, Christopher Creutzig wrote:

>enough of supp-pdf.tex for this.  Right now, we are using the
>postscript commands
>
>findfont
>scalefont
>setfont
>setlinecap
>setlinejoin
>translate
>scale
>setlinewidth
>arc          (only used for full circles)
>closepath
>fill
>gsave
>grestore
>lineto
>moveto
>newpath
>setrgbcolor
>stroke
>setdash
>
>  Of these, I do not find the font commands, arc in supp-pdf.tex and instead

what is the spec of arc? do you need that one or can you map it; i store 
paths in 6 point sets; how is arc used?
I may consider providing a hook for such extensions.

One thing to keep in mind is that supp-pdf catches some special mp things 
like pen-stroked paths

do you have an example?

>of setlinewidth, some dtransform command I did not meet before.  I did
>find the comments on the latter in the tex file -- is there some way
>to use setlinewidth directly or should I change our code to emit the

i have no problems with supporting setlinewidth directly

>more verbose form listed in supp-pdf.tex?  arc probably needs to be
>replaced by an equivalent curveto command, right?  As for the font
>commands, they need to be replaced by fshow, correct?

not per se, if i know the syntax and what to expect ... of course the file 
should be made known to tex somehow

>  We use these commands with floating-point arguments.  Would you
>expect any problems with supp-pdf.tex?

no, since mp used floating point too; but there are some constraints to the 
maximum size and small sizes can get rounding errors although this only 
counts in penstrokes.

So, how does such a file look like?

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------

Reply via email to