\begin{tikzpicture}[scale=.6,every node/.style={scale=0.6}]
\foreach \x in {0,45,...,180} {
\draw[gray] (0,0) -- (\x:2);
}
\draw[gray,path fading=south] (0,0) -- (225:2);
\draw[gray,path fading=south] (0,0) -- (270:1.5); % 270 brings up
% an div/null error
% \draw[gray,path fading=south] (0,0) -- (269:1.5); % works as expected
% \draw[gray,path fading=south] (0,0) -- (269.9:1.5); % no div/null error
% % but the line is
% % ultra thin
% \draw[gray] (0,0) -- (270:1.5); % works, so the error
% % is related to fading
\draw[gray,path fading=south] (0,0) -- (315:2);
\end{tikzpicture}
Fixed in the cvs.
Reopening: the issue is not fixed entirely.
the following item fails:
I took a brief look: it calls
and attempts to invert the CM; the debug statement above says
Last edit: Stefan Pinnow 2018-12-21
Indeed. I had a look at the code and the trouble is that, indeed, huge numbers arise because the fading is squeezed and this squeezing needs to be undone in the driver if we want to recycle the xforms. This unsqueezing does, indeed, result in huge numbers.
There are two ways around this, both tricky: One can switch to a special calculation mechanism to handle the large numbers, but this may result in huge numbers in the PDF, which may or may not be a problem. The cleaner solution is to (re)create a new xform for each use of a fading, resulting in a larger PDF file and more overhead, but higher precision.
This will be fixed some time in the future, hopefully.
I either have a test case or a new bug: