From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6131 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Use supp-pdf.tex for other EPS? Date: Wed, 14 Nov 2001 12:42:11 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20011114123441.03e2f828@server-1> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035396677 7745 80.91.224.250 (23 Oct 2002 18:11:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:11:17 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Christopher Creutzig In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:6131 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6131 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 -------------------------------------------------------------------------