# Tikz Pattern lines are not exactly straight

I do have a short problem with Tikz

\documentclass{article}
\usepackage{pgf,tikz}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}
\fill[pattern=north east lines] (0,0) -- (0,1) -- (1,1) -- (1,0) -- cycle;
\end{tikzpicture}
\end{document}


I simply want to fill differently shaped areas with north east lines. Which is done as is it's supposed to be. But the problem i can not figure out is why they are not exactly straight. Certainly nobody would notice in print but in the pdf it just looks distorted. Is there a way to improve this?

-
This is yet another side effect of the PDF-viewer, has nothing to do with TikZ or pstricks if that is used. Try zoom in and see if it disappears? It does in my case. –  zeroth Apr 7 '12 at 9:43
–  JohnReed Jun 7 '12 at 0:46

## 1 Answer

As is mentioned in the comment above, the display is dependent on your choice of pdf viewer. For example in Acrobat X we get the following in a 100%, 300% and 500% zoom:

Now in SumatraPDF, you get the following:

Notice how the display varies with the viewer. Hence there is no way to improve on this. The printing output will not be affected.

-
But who prints documents these days? ;-) –  topskip Jun 7 '12 at 6:11
Its true, I scarcely print except for exams. But even there one expects the best from LaTeX. –  azetina Jun 7 '12 at 13:39