Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #2496

Re: How long is a path? Alas currentdash is silent

From Scott Hemphill <hemphill@hemphills.net>
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> <c29bc460-0e9e-44ef-a259-9df1a6e33bac@googlegroups.com> <7f3d04a0-d6c3-4665-bae3-142f0c149284@googlegroups.com>
Date 2016-04-06 11:35 -0400
Message-ID <8737qylpha.fsf@hemphills.net> (permalink)

Show all headers | View raw


jdaw1 <jdawiseman@gmail.com> 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

Back to comp.lang.postscript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-05 16:34 -0700
  Re: How long is a path? Alas currentdash is silent tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2016-04-05 21:45 -0400
    Re: How long is a path? Alas currentdash is silent luser- -droog <mijoryx@yahoo.com> - 2016-04-05 19:09 -0700
      Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-06 01:26 -0700
        Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-06 05:07 -0700
          Re: How long is a path? Alas currentdash is silent Scott Hemphill <hemphill@hemphills.net> - 2016-04-06 11:40 -0400
            Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-06 09:52 -0700
              Re: How long is a path? Alas currentdash is silent sjprouty3765@gmail.com - 2016-04-06 12:05 -0700
                Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-06 14:55 -0700
              Re: How long is a path? Alas currentdash is silent Scott Hemphill <hemphill@hemphills.net> - 2016-04-06 17:12 -0400
                Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-06 14:34 -0700
        Re: How long is a path? Alas currentdash is silent Scott Hemphill <hemphill@hemphills.net> - 2016-04-06 11:35 -0400
          Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-06 09:38 -0700
  Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-07 01:39 -0700
  Re: How long is a path? Alas currentdash is silent Carlos <angus@quovadis.com.ar> - 2016-04-08 15:04 +0200
    Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-08 14:32 -0700
      Re: How long is a path? Alas currentdash is silent Carlos <angus@quovadis.com.ar> - 2016-04-09 01:19 +0200
    Re: How long is a path? Alas currentdash is silent jdaw1 <jdawiseman@gmail.com> - 2016-04-08 14:57 -0700
      Re: How long is a path? Alas currentdash is silent Carlos <angus@quovadis.com.ar> - 2016-04-09 01:31 +0200

csiph-web