Menu

#404 Unexpected fill color in arrow tip

v1.0 (example)
closed-works-for-me
nobody
None
5
2018-12-24
2016-10-05
No

This code produces an arrow tip filled red on my system. I cannot imagine this is the expected behavior.

\begin{tikzpicture}
  \node[text=red] (e) at (0,0) {error};
  \draw[Latex-, fill=yellow] (e.east) -- ++(1cm,0);
\end{tikzpicture}

I would've submitted a patch, but I can't figure out how PGF/TikZ is supposed to communicate colors from paths to arrow tips and back. For instance, why does an autodetected color option use \tikz@compat@color@set and not the color key?

Discussion

  • Stefan Pinnow

    Stefan Pinnow - 2018-12-24
    • status: open --> closed-works-for-me
     
  • Stefan Pinnow

    Stefan Pinnow - 2018-12-24

    For me this gives a black arrow tip -- as expected.