# [XeTeX] Fontspec 2.1 and Hoefler Text Italic

Alex Steinberg alextsteinberg at hotmail.com
Mon Nov 8 15:39:42 CET 2010

Hi all,

I have a problem with using Hoefler Text and the newly updated fontspec (v2.1).

Before the update it was possible to avoid fancy swirls at the beginning and end of italicised words in Hoefler Text by specifying something like the following:
\setmainfont[ItalicFeatures={Contextuals={NoLineFinal,NoLineInitial}}]{Hoefler Text}

However, since the update, the following minimal code:
\documentclass{article}
\usepackage{fontspec}
\setmainfont[Contextuals=NoLineFinal]{Hoefler Text Italic}
\begin{document}
\end{document}

produces this error message: ! Undefined control sequence.
<argument> \intexpr_if_even:nTF
{7}{\tl_set:Nx \l_tmpb_tl {\XeTeXselectornam...
and the document does not compile.

Is there another way of turning off the swirls at the beginning and end of words in Italic Hoefler Text, or, alternatively, an easy way of reverting to the working fontspec version?

Best,

Alex.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20101108/71d54143/attachment.html>