[XeTeX] Small caps bug in fontspec

Andrew Moschou andmos at gmail.com
Wed Sep 29 07:50:29 CEST 2010


Hi all,

It seems setting Numbers=OldStyle breaks \scshape. This example uses Sabon,
but it happens with other fonts too. My fontspec version is 2.1a.

Andrew


\documentclass{article}

\usepackage{fontspec}
\setmainfont{Sabon LT Std}

\begin{document}

Some text {\scshape in small caps}? Yes.

\addfontfeature{Numbers=OldStyle}

Some text {\scshape in small caps}? No.

\end{document}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100929/3e1d3975/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c.pdf
Type: application/pdf
Size: 5084 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100929/3e1d3975/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c.log
Type: text/x-log
Size: 20206 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100929/3e1d3975/attachment-0001.bin>


More information about the XeTeX mailing list