Sometimes I use Inkscape to add some graphical elements and text to my pictures. Inkscape allows to export this as pdf+LaTeX, where the pdf contains the picture and all graphical elements and the LaTeX file contains the text.
One can then \input{latex-file-from-inkscape} and the picture appears with superimposed text in the document font.
Internally this uses a picture-environment.
I now tried to put the picture in a tikz node and added a drop shadow. The result is wrong as the picture appears to get indented somehow. I found out that this also happens if a simple \fbox is added.
\documentclass{scrartcl}
\usepackage{tikz}
\usetikzlibrary{shadows}
\begin{document}
\def\svgwidth{.5\textwidth}
\input{drawing.pdf_tex}
\def\svgwidth{.5\textwidth}
\setlength{\fboxsep}{0pt}
\fbox{\input{drawing.pdf_tex}}
\begin{tikzpicture}
\def\svgwidth{.5\textwidth}
\node[drop shadow={shadow xshift=.8ex,shadow yshift=-.8ex,opacity=0.5},
inner sep=0,
] at (0,0) {\input{drawing.pdf_tex}};
\end{tikzpicture}
\end{document}
the picture below shows the result
1) just input the file
2) with \fbox
3) with tikz drop shadow

