Interesting Bug with LuaTex, \setfontfeature{oldstyle}, colors and tikz
Hi! I wanted to use colors in my tikz-graphics. The following example gives a nice red line with "texexec":
\enableregime[utf-8] \mainlanguage [de] \setupcolors[state=start]
\usemodule[tikz] \definecolor[zeug][r=1, g=0, b=0] \starttext \starttikzpicture \draw [zeug, line width=1ex, cap=round] (-7.65cm,-1mm) -- (7.65cm,-1mm); \stoptikzpicture \stoptext
When I compile my document with "texexec --lua" I get a black line. Adding "\setfontfeature{oldstyle}" to the preamble causes "texexec --lua" to break with a failure.
Package pgfbase: Error! Unsupported color model `'. Sorry. error: ...text/tex/texmf-context/tex/context/base/font-otf.lua:1998: attempt to index local 'tfmdata' (a nil value) . \endpgfpicture ... \pgf@y }\endgroup \hss \egroup \pgf@insertlayers \endgrou...
Does anyone know how this comes? Regards, Eyke
participants (1)
-
holzminister