# 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
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.7879905104637146, "perplexity": 1018.1788271686131}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": false}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2016-07/segments/1454701174607.44/warc/CC-MAIN-20160205193934-00294-ip-10-236-182-209.ec2.internal.warc.gz"}