I'm using TeX Live 2019 (in Overleaf) and I have the following code:
\documentclass[pstricks,border=2mm]{standalone}
\begin{pspicture}(-2.5,-0.5)(2.5,4.5)
\pspolygon[fillstyle=solid,fillcolor=teal](2,1)(-2,1)(0,4)
\pspolygon[fillstyle=solid,fillcolor=magenta,opacity=0.5](2,3)(-2,3)(0,0)
\end{pspicture}
but I obtained (LaTeX compiler)
By using Tex Live 2017, I obtain the right result:
What could be the problem? How can I fix it?
-dNOSAFER
option is fine to run in our docker images. Thanks again!-dNOSAFER
bylatexmkrc
file in Overleaf?latexmkrc
contents.