[pstricks] fillstyle=transparent affecting entire page

Tom Johnson tjhnson at gmail.com
Sun Sep 23 21:58:03 CEST 2007


Hi,

I am using fillstyle=transparent, and I am quite happy with the results.

When viewing the resultant pdf via 'xpdf', everything looks fine---same with
evince.  However, when viewed with acrobat, it seems to be affecting colors
for the entire page, rather than on just the specified object.  Is this
avoidable?

This is troublesome when making presentations (beamer, prosper).  If I use
the transparent fillstyle, the entire slide changes colors.

Below is some sample code demonstrating the effect.  The green frame changes
color even though its style is not set to be transparent.  Again, this
effect is only noticeable in acrobat.

ESP Ghostscript 8.15.4
Adobe Reader 7.08 (linux)

\documentclass{article}
\usepackage{pstricks}
\usepackage{pstricks-add}
\begin{document}
\begin{figure}[!ht]
\psset{unit=2cm}
\begin{pspicture}(0,0)(10,10)
\psframe*[linecolor=green](0,0)(5,5)
\psframe*[linecolor=red](3,3)(8,8)
\end{pspicture}
\end{figure}
\newpage
\begin{figure}[!ht]
\psset{unit=2cm}
\begin{pspicture}(0,0)(10,10)
\psframe*[linecolor=green](0,0)(5,5)
\psframe[linecolor=red,fillcolor=red,fillstyle=transparent,transpalpha=.8](3,3)(8,8)
\end{pspicture}
\end{figure}
\end{document}

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20070923/05e7bc39/attachment.html 


More information about the PSTricks mailing list