Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

A penny saved is a penny to squander. -- Ambrose Bierce


devel / comp.lang.postscript / Re: Distiller XI Pro, “… charpath clip stroke”

SubjectAuthor
* Distiller XI Pro, “… charpath clip stroke”jdaw1
`- Re: Distiller XI Pro, “… charpath clip stroke”jdaw1

1
Distiller XI Pro, “… charpath clip stroke”

<1d0d2ab7-b2bf-4f3b-a46e-9ae1f1383500n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=45&group=comp.lang.postscript#45

  copy link   Newsgroups: comp.lang.postscript
X-Received: by 2002:a37:b1c5:: with SMTP id a188mr17135778qkf.378.1623692011807;
Mon, 14 Jun 2021 10:33:31 -0700 (PDT)
X-Received: by 2002:a05:622a:1a96:: with SMTP id s22mr13367743qtc.229.1623692011682;
Mon, 14 Jun 2021 10:33:31 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.postscript
Date: Mon, 14 Jun 2021 10:33:31 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=31.124.255.101; posting-account=Cp97SgoAAAC0t1Gya5PaPqyoafMoOtAn
NNTP-Posting-Host: 31.124.255.101
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1d0d2ab7-b2bf-4f3b-a46e-9ae1f1383500n@googlegroups.com>
Subject: Distiller XI Pro, “… charpath clip stroke”
From: jdawiseman@gmail.com (jdaw1)
Injection-Date: Mon, 14 Jun 2021 17:33:31 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: jdaw1 - Mon, 14 Jun 2021 17:33 UTC

In Adobe Distiller XI Pro 11.0.23 (01/11/2017), “… charpath clip stroke” seems to ignore the clip.

Code, PDF output:
http://www.jdawiseman.com/papers/bugs/20210614_clip_test.ps
http://www.jdawiseman.com/papers/bugs/20210614_clip_test.pdf
http://www.jdawiseman.com/papers/bugs/20210614_clip_test.gif

Ghostscript works.

Please could a reader with a later version of Adobe Distiller test the linked .ps, so that I can know whether fixed, and if so, approximately when.

Thank you.

Re: Distiller XI Pro, “… charpath clip stroke”

<2ac2a9a5-1a3e-4d06-ae1d-a62642908b59n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=46&group=comp.lang.postscript#46

  copy link   Newsgroups: comp.lang.postscript
X-Received: by 2002:ad4:596c:: with SMTP id eq12mr237039qvb.30.1623692209885;
Mon, 14 Jun 2021 10:36:49 -0700 (PDT)
X-Received: by 2002:a37:a1d5:: with SMTP id k204mr17763153qke.300.1623692209751;
Mon, 14 Jun 2021 10:36:49 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.postscript
Date: Mon, 14 Jun 2021 10:36:49 -0700 (PDT)
In-Reply-To: <1d0d2ab7-b2bf-4f3b-a46e-9ae1f1383500n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=31.124.255.101; posting-account=Cp97SgoAAAC0t1Gya5PaPqyoafMoOtAn
NNTP-Posting-Host: 31.124.255.101
References: <1d0d2ab7-b2bf-4f3b-a46e-9ae1f1383500n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2ac2a9a5-1a3e-4d06-ae1d-a62642908b59n@googlegroups.com>
Subject: Re: Distiller XI Pro, “… charpath clip stroke”
From: jdawiseman@gmail.com (jdaw1)
Injection-Date: Mon, 14 Jun 2021 17:36:49 +0000
Content-Type: text/plain; charset="UTF-8"
 by: jdaw1 - Mon, 14 Jun 2021 17:36 UTC

For robustness against website failure, the current code (though the jdawiseman.com version of it might, within the next few days, be updated).

%!PS

% (c) Copyright 2021 Julian Wiseman of jdawiseman.com.
% http://www.jdawiseman.com/papers/bugs/20210614_clip_test.ps
% http://groups.google.com/g/comp.lang.postscript/c/wa-vv0jzOfk

% PDF made by Adobe Distiller XI Pro 11.0.23 (01/11/2017), "Copyright 1984-2012 Adobe Systems Incorporated".

% DeFontPath has two uses.
% Bug in Adobe Distiller 8.1.3 (23/10/2006). In attempting to treat paths derived from text as copyable text, it fails to cope with paths made partly thereby and partly from a upath.
% Also, eliminates some types of problems with embedding fonts.
/DeFontPath
{ {
[ {/moveto cvx} {/lineto cvx} {/curveto cvx} {/closepath cvx} pathforall ] newpath cvx exec
} stopped {(Warning: protected path in DeFontPath) =} if
} bind def % /DeFontPath

% BoolCharPath BoolDeFont PaintTextPath -
/PaintTextPath
{ 2 dict begin
/BoolDeFont exch def
/BoolCharPath exch def
gsave
(ABCDE) BoolCharPath charpath
BoolDeFont {DeFontPath} if
gsave BoolCharPath {0.4 0.6 1} {0 0.8 0} ifelse setrgbcolor fill grestore
4 setlinewidth 0 setgray 1 setlinejoin clip stroke % !!! Without DeFontPath, clip fails !!!
grestore
end
} bind def % /PaintTextPath

<< /PageSize [340 240] >> setpagedevice
0 1 1
{ 1 eq /BoolDeFont exch def

/FiraSans-Regular 9.5 selectfont 0.6 0 0 setrgbcolor
BoolDeFont {(Page 2, with)} {(Page 1, without)} ifelse
10 227 moveto show ( DeFontPath: blue = true charpath; green = false charpath.) show
10 217 moveto (Source: http://www.jdawiseman.com/papers/bugs/20210614_clip_test.ps) show
/FiraSansExtraCondensed-Bold 128 selectfont
10 210 moveto 320 0 rlineto stroke
10 110 moveto true BoolDeFont PaintTextPath
10 10 moveto false BoolDeFont PaintTextPath
showpage
} for % BoolDeFont

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor