# Why is this TikZ pattern spilling outside the path it fills? [closed]

This:

\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{patterns}

\begin{document}

\begin{tikzpicture}
\fill[pattern=horizontal lines] (0,0) -- (2,2) to[out=90,in=180] (4,5) -- (7,5) -- (7,0) -- cycle;
\fill[pattern=north east lines] (0,0) -- (2,2) to[out=0,in=270] (4,5) -- (0,5) -- cycle;
\end{tikzpicture}

\end{document}


produces this:

The "north east lines" pattern spills out to the right of the path it's supposed to be filling, which is definitely not what I want. What am I doing wrong?

-

## closed as too localized by Paul Gaborit, zeroth, Stefan Kottwitz♦Mar 3 '13 at 14:20

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I can't replicate this on MikTeX 2.9, pdflatex, TikZ CVS version, Sumatra and Acrobat. Might be a viewer issue – percusse Mar 3 '13 at 13:25
Oh, weird. I think you're right that it might be a viewer issue. I see the overflow in evince, but not with xpdf. – uckelman Mar 3 '13 at 13:31