[lltx] [Fontspec] Problem with \addfontfeature
TeXWorld
texworld at laposte.net
Sun Sep 12 20:05:18 CEST 2010
Hello,
Here's my system :
Windows Seven
TL 2010
LuaTeX 0.63.0-2010090911 (rev 3872)
Fontspec v2.0b
TeX Gyre Bonum is installed.
I tried to test the code from the Fontspec documentation page 15. Here's
my code :
\documentclass{article}
\usepackage{xcolor}
\usepackage{fontspec}
\begin{document}
\fontsize{48}{48}
\fontspec{TeX Gyre Bonum Bold}
{\addfontfeature{Color=FF000099}W}\kern-1ex
{\addfontfeature{Color=0000FF99}S}\kern-0.8ex
{\addfontfeature{Color=DDBB2299}P}\kern-0.8ex
{\addfontfeature{Color=00BB3399}R}
\end{document}
When I compile it with XeLaTeX it works except that I have to
transparency (of course I run Windows...).
The Problem is with LuaLaTeX. I get the following error message :
luaotfload | Font names database loaded: C:/Users/jack/.texlive2010/texmf-v
ar/luatex-cache/generic/names/otfl-names.lua(load: c:/Users/jack/.texlive20
10/texmf-var/luatex-cache/generic/fonts/otf/temp-texgyrebonum-bold.lua)error:
...0/texmf-dist/tex/luatex/luaotfload/otfl-font-clr.lua:31: bad argument
#1 to 'tonumber' (string expected, got nil)
.
\newpage ...erypar {}\fi \par \vfil \penalty -\@M
l.11 \end{document}
?
More information about the lualatex-dev
mailing list