# [NTG-context] slanted and extended fonts in XeTeX

Mojca Miklavec mojca.miklavec.lists at gmail.com
Thu Oct 18 18:43:02 CEST 2007

To all XeTeX enthusiasts,

I have just figured out (after Jonathan's post on the XeTeX mailing
list) that the new XeTeX supports some interesting features. You can
check it out (it might be that it only works with ConTeXt 2007.09.28
and XeTeX 0.997):

\definefontfeature
[slantedandextended]
% cloned from the rest of XeTeX, not really needed
[method=node,script=latn,language=dflt,liga=yes,onum=yes,kern=yes,
slant=0.25,extend=1.5]
\definefontsynonym
[myfont]
[file:texgyrepagella-regular][features=slantedandextended]

\starttext
\definedfont[myfont] This is slanted and extended
\stoptext

This specific font doesn't need that feature, but there might be others :)

Mojca