2

When I superpose two \path [fill=...] that should match exactly, I get an outer lining from the first fill.

It doesn't appear to be a shortcoming of the pdf viewer, as it also shows once converted to png.

enter image description here

How to get around this ?

MWE

\documentclass[tikz,border=10pt]{standalone}
\begin{document}
\begin{tikzpicture}
  \path [fill=black] (0,0) rectangle (1,1) ;
  \path [fill=white] (0,0) rectangle (1,1) ;
\end{tikzpicture}
\end{document}
marsupilam
  • 6,383
  • 2
    It's a viewer issue and then carried over to rendered png. More here http://tex.stackexchange.com/questions/331951/tikz-why-is-a-line-visible-between-2-fitted-nodes-with-inner-outer-sep-0 – percusse Jan 21 '17 at 15:52

0 Answers0