<div dir="ltr"><div>Thanks, Herbert. In my case, I'm in a release hole because the old commands got reinstated in gs 9.53, but 9.53 is not released to my distribution yet. <br></div><div><br></div><div>Just to be sure, it seems that the old commands are deprecated in 9.53 and 9.54, and may stop working thereafter:<br></div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">For at least the next couple of releases (9.53/9.54), we will have
Postscript procedures called .setopacityalpha and .setshapealpha whose
implementation is a close approximation of what those operators
previously did. Obviously, however, it would be preferable to remove
those and have everyone use the correctly implemented and correctly
named new operators.<br></blockquote><pre><br></pre></div><div>-Brandon</div><div><br> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 9, 2020 at 7:20 AM Herbert Voss <<a href="mailto:Herbert.Voss@fu-berlin.de">Herbert.Voss@fu-berlin.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Am 09.07.20 um 02:52 schrieb Brandon Kuczenski:<br>
> Hi folks,<br>
> I am trying to keep up with changes to ghostscript surrounding the <br>
> support of transparency operations.  Brief recap: starting with GS <br>
> 9.24, it was necessary to turn off "safer" mode in the ps2pdf step in <br>
> order to support transparency because of security issues:<br>
> vulnerabilities: <br>
> <a href="https://bugs.chromium.org/p/project-zero/issues/detail?id=1640" rel="noreferrer" target="_blank">https://bugs.chromium.org/p/project-zero/issues/detail?id=1640</a><br>
> workaround: <br>
> <a href="http://tex.stackexchange.com/questions/453780/pgfs-and-pstrickss-opacity-is-not-working/453786" rel="noreferrer" target="_blank">http://tex.stackexchange.com/questions/453780/pgfs-and-pstrickss-opacity-is-not-working/453786</a><br>
><br>
> Unfortunately, the Artifex team has now changed the transparency <br>
> implementation so that the ".setopacityalpha" and ".setshapealpha" <br>
> operators no longer work at all in 9.51 and 9.52. This means that <br>
> upstream code changes are required in order to continue to support <br>
> transparency.<br>
><br>
> official notice: <br>
> <a href="https://ghostscript.com/pipermail/gs-devel/2020-May/010295.html" rel="noreferrer" target="_blank">https://ghostscript.com/pipermail/gs-devel/2020-May/010295.html</a><br>
> annoyed user's description (informative): <br>
> <a href="https://github.com/vectorgraphics/asymptote/issues/155#issuecomment-633202297" rel="noreferrer" target="_blank">https://github.com/vectorgraphics/asymptote/issues/155#issuecomment-633202297</a><br>
><br>
> For me, this meant that the old "-dNOSAFER" workaround was no longer <br>
> effective. Allegedly they will introduce backward compatibility in <br>
> 9.53? I don't quite understand. Anyway, I have fixed the problem by <br>
> downgrading to gs 9.27 but I wanted to check my understanding, make <br>
> sure this issue was being tracked, and see whether there is a plan to <br>
> fix it.<br>
<br>
the new option is -dALLOWPSTRANSPARENCY<br>
<br>
the following example works with gs9.53<br>
However you'll get a lot of warnings which are no problem, because<br>
PSTricks redefines the old shape commands for internal use<br>
<br>
Herbert<br>
<br>
<br>
\documentclass{article}<br>
\usepackage{pstricks}<br>
\begin{document}<br>
<br>
\begin{pspicture}[showgrid](-5,-5)(5,5)<br>
\psset{opacity=0.5}<br>
\pscircle*[linecolor=red](-2,-2){3}<br>
\pscircle*[linecolor=green](-2,2){3}<br>
\pscircle*[linecolor=blue](2,2){3}<br>
\pscircle*[linecolor=cyan](2,-2){3}<br>
\end{pspicture}<br>
<br>
\end{document}<br>
<br>
<br>
--<br>
list: <a href="https://lists.tug.org/pstricks" rel="noreferrer" target="_blank">https://lists.tug.org/pstricks</a><br>
archive: <a href="https://tug.org/pipermail/pstricks/" rel="noreferrer" target="_blank">https://tug.org/pipermail/pstricks/</a></blockquote></div>