[XeTeX] Adding font features to LM fonts

Will Robertson wspr81 at gmail.com
Mon Feb 11 01:21:06 CET 2008


Hi Till,

New versions of the LM fonts have just been released that should fix  
some of the problems you mention. With v0.997 of XeTeX, I can compile  
this document okay:

\documentclass{article}
\usepackage{fontspec}
\begin{document}
\setmainfont[Numbers=Lowercase]{Latin Modern Roman}
test 123 \itshape me \bfseries hello
\end{document}

But you're right -- you can't change the features applied to the  
default LM fonts loaded by fontspec. The new OpenType versions of LM  
should work correctly with respect to optical sizes, too, so it  
shouldn't be that painful to load LM with fontspec commands now.

Cheers,
Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2415 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080211/1e08942b/attachment.bin 


More information about the XeTeX mailing list