I am trying to hunt down some bugs in pgf-blur, some of which have been reported here already (this for example).
All the following experiments are done with TL 2016.
There are two bugs:
- Bug: Multiple drop shadows
- Bug: Inclusion in XeLaTeX
ad 1. Bug: Multiple drop shadows
As mentioned a few times on TeX StackExchange (e.g., here, multiple usage of drop shadows in xelatex is broken.
See included file mwe-graphic.tex. With xelatex it produces wrong shadows, but with lualatex or pdflatex perfectly fine ones:
\usepackage{tikz}
\usetikzlibrary{shadows.blur}
\begin{document}
\thispagestyle{empty}
\begin{tikzpicture}
\draw[blur shadow](-2,0)circle(1);
\draw[blur shadow](0,0)rectangle(3,2);
\end{tikzpicture}
\end{document}
Possible solution: Fixes incorporated into pst-blur by Andrew Stacey in http://bazaar.launchpad.net/~tex-sx/tex-sx/development/files
With this file, multiple shadows work, but different problems reappeared:
ad 2. Bug: Inclusion in XeLaTeX
Consider the following file mwe.tex
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{center}
\includegraphics{mwe-graphic.pdf}
\end{center}
\end{document}
a. Using default pgf-blur from CTAN or TeX Live
luatex mwe-graphic.tex; xelatex mwe.texproduces a correct graphic, but the xelatex run is corrupted:xdvipdfmx:fatal: Loop in object hierarchy detected. Broken PDF file?xelatex mwe-graphic.tex; xelatex mwe.texproduces output woth incorrect shadows, see above
b. Using the version linked above
luatex mwe-graphic.tex; xelatex mwe.texxelatex mwe-graphic.tex; xelatex mwe.texboth produces a correct graphic, but the xelatex on
mwerun is corrupted:xdvipdfmx:fatal: Loop in object hierarchy detected. Broken PDF file?
Now my question: Can anyone provide a version that fixes all these problems? I will contact also the original author, but I am not overly optimistic.
Thanks
Norbert

@.) You should try pinging in the chat room or ask one of the moderators to send a 'super ping' from chat if you're not able to. (We can only ping people who've chatted recently. The mods can ping any user from chat.) – cfr Jul 26 '16 at 15:53xelatex. After some debugging it seems that when using multiple fadings the bounding box correction part gives thisLoop in object hierarchymessage. I don't understand why it works that way. I can compile it with a single fading or after removing this specific line with multiple fadings, though with broken shadows of course. – Karol J. Piczak Mar 01 '18 at 00:04xelatexinternals is not sufficient to fix this in a reasonable time frame, so I had to concede to some limited workarounds. – Karol J. Piczak Mar 02 '18 at 12:17