Path: csiph.com!au2pb.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 06 Apr 2016 10:35:29 -0500 From: Scott Hemphill Newsgroups: comp.lang.postscript Subject: Re: How long is a path? Alas currentdash is silent References: <7d687ea2-4b38-408d-be5f-e35d730137eb@googlegroups.com> <1regqufm4mopi$.y2znd2xxsk3k$.dlg@40tude.net> <7f3d04a0-d6c3-4665-bae3-142f0c149284@googlegroups.com> Reply-To: hemphill@alumni.caltech.edu Date: Wed, 06 Apr 2016 11:35:29 -0400 Message-ID: <8737qylpha.fsf@hemphills.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:fRBCMshIfnyqn/qykQDGyUWYF5c= MIME-Version: 1.0 Content-Type: text/plain Lines: 28 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-PHPdXMrqNts3fYvUuJYpgCgNrulDSBa9KQajn9LX52q9VT07ywQQrTIV2T/uBL+BoIX5jLq0qjMpydT!yYeYGMLRSSWZS2Y9zD+BvoU2VshTmq1ojWRhUcjOpdAZWdvu5+UIBfE= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2230 X-Received-Bytes: 2342 X-Received-Body-CRC: 83720221 Xref: csiph.com comp.lang.postscript:2496 jdaw1 writes: > Why? > > A closed path is to be stroked dashed, approximately '[6 12] 0 > setdash'. It would look better if the start of the path's and end of > the path's dashes were in phase. > > [PathLengthInPoints dup 18 div ceiling div 3 div dup 2 mul] 0 setdash > > Which requires 'PathLengthInPoints'. > > Let's take a simple case: a circle. Adobe and GhostScript draw circles > differently, with arc parameters 0.552 and 0.552282. So even these > paths aren't quite identical. > https://groups.google.com/forum/#!topic/comp.lang.postscript/YiuM6lj5ngY [snip] Does Adobe document the "0.552" anywhere? It is interesting that Distiller uses this (from your post) but that a presumably Adobe implementation of PostScript in my printer uses something more akin to GhostScript's value. Scott -- Scott Hemphill hemphill@alumni.caltech.edu "This isn't flying. This is falling, with style." -- Buzz Lightyear