[lltx] [fontspec] selecting font features has no effect?

Will Robertson wspr81 at gmail.com
Tue Mar 30 10:07:00 CEST 2010


On 30/03/2010, at 4:17 PM, Diederick C. Niehorster wrote:

> %\setmainfont[Mapping=tex-text,Ligatures=Common]{TeX Gyre Heros}
> \setmainfont[Mapping=tex-text,Ligatures=Common]{Arno Pro}

This is going to be a problem, I can tell.
LuaTeX uses a different mechanism to get TeX ligatures; you want to use "Ligatures=TeX" instead of "Mapping=tex-text". (The former will also work in XeTeX.)

I guess I'll have to write some code to get "Mapping=tex-text" interpreted as "Ligatures=TeX" in the interests of compatibility with old XeTeX documents.

(P.S.  You should never have to write "Ligatures=Common". I need to write something about that in the manual.)

> {\addfontfeature{RawFeature=+swsh}\textit{Test}}

What does  "\addfontfeature{Style=Swash}" say?

-- Will

To unsubscribe from this group, send email to lualatex-dev+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.



More information about the lualatex-dev mailing list