Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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: bad pattern fill

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?

share|improve this question

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.

2  
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
add comment

1 Answer 1

up vote 1 down vote accepted

This appears to be a rendering bug in poppler, since xpdf renders the diagram correctly. I've reported this as Bug 61737 at https://bugs.freedesktop.org.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.