I am trying to use Lua to substitute the default ampersand for a swashy one. Fontforge tells me the glyph's name is 'ampersand', and the swashy version is 'u0026.da'. However, I can't get the swash to appear, unlike for other characters:

\setmainfont{Arno Pro Italic}
    name = "italt",
    type = "alternate",
    data =
    {ampersand = "u0026.da",
    J = "J.b"}}
    \& J\addfontfeature{RawFeature={+italt}} \& J

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.