Closed wspr closed 14 years ago
It should be:
\font\2="Linux Libertine:salt=0"\2 & h
Without the +
, this seems to be incompatible with xetex syntax. I'll see if I can fix it, else fontspec has to be adapted in the mean time.
Support keys prefixed by "+"
Key/value features prefixed by a plus sign now work, closed by ab0debed28f4b7b30f96e554062f43cd8599a84f. Needs a more thoroughly testing, as it might break other feature assignments.
Several OpenType font features allow numerical selection, such as
salt
:This works correctly in XeTeX but not with luaotfload. If you remove the
=0
then it does work, but you wouldn't be able to load any of the alternatives (with=1
,=2
, etc.). Also see thenalt
feature which behaves analogously, with example in the fontspec manual "Annotation forms for OpenType fonts".