![](https://secure.gravatar.com/avatar/cc2ed8fee38dc2cbfbb190cd24e8f081.jpg?s=120&d=mm&r=g)
Hi, How can I use glyph variants with ConTeXt/LuaTeX? Khaled posted an example with LuaLaTeX[1] and I would like to use that in a ConTeXt document. Can this be achieved with simplefonts or even directly? Something like this: \usemodule[simplefonts] \setmainfont[zapfinoextraltpro] \starttext \setupsimplefonts[variant=2] \input knuth \setupsimplefonts[variant=3] \input knuth \stoptext Adam [1] http://tex.stackexchange.com/questions/29123/can-i-get-lualatex-to-do-font-v...
![](https://secure.gravatar.com/avatar/cc2ed8fee38dc2cbfbb190cd24e8f081.jpg?s=120&d=mm&r=g)
Hi, So I've just figured it out finally from http://www.twardoch.com/download/typotechnica2005_zapfino.pdf, that I can achieve this via the ss01-ss10 font features as well as with calt=yes respectively. The MWE: \usemodule[simplefonts] \definefontfeature[default][default][ss02=yes] % calt=yes \setmainfont[zapfinoextraltpro] \starttext \input knuth \stoptext Adam
Hi,
How can I use glyph variants with ConTeXt/LuaTeX?
Khaled posted an example with LuaLaTeX[1] and I would like to use that in a ConTeXt document.
Can this be achieved with simplefonts or even directly?
Something like this:
\usemodule[simplefonts] \setmainfont[zapfinoextraltpro] \starttext \setupsimplefonts[variant=2] \input knuth \setupsimplefonts[variant=3] \input knuth \stoptext
Adam
[1] http://tex.stackexchange.com/questions/29123/can-i-get-lualatex-to-do-font-v...
participants (1)
-
reviczky@caesar.elte.hu