ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Use supp-pdf.tex for other EPS?
Date: Wed, 14 Nov 2001 12:42:11 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20011114123441.03e2f828@server-1> (raw)
In-Reply-To: <Christopher-Creutzig-wqsadxpvgss.fsf@bursar.uni-paderborn. de>

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 | pragma@wxs.nl
                       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	other threads:[~2001-11-14 11:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Christopher-Creutzig-wqsadxpvgss.fsf@bursar.uni-paderborn. de>
2001-11-14 11:42 ` Hans Hagen [this message]
2001-11-14  9:32   ` Christopher Creutzig
2001-11-14 14:57   ` Taco Hoekwater
2001-11-14 15:39     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20011114123441.03e2f828@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).