Am 08.10.2011 um 18:55 schrieb Javier Múgica de Rivera:

I have used the luaotfload package for the first time, and worte the
following code in order to do so:

%def\otffont#1=#2 at{\font#1={#2: mode=base;tlig;trep} at}
\def\otffont#1=#2 at{\font#1={#2: mode=node;tlig;trep} at}

\otffont\tenrm=LMRoman10-Regular at 10pt

The font appears to be right at first sight but looking closer I see
that kerning and ligatures are missing. How can that be solved?

you have to explicitly set kern and ligatures:

\def\x{Va Va Va Va Va Va Va fish fluffiest\par}
\input luaotfload.sty
\font\myfont="Linux Libertine O"
\myfont\x
\font\myfont="Linux Libertine O:+liga;"
\myfont\x
\font\myfont="Linux Libertine O:+liga;+kern"
\myfont\x
\bye



Patrick

Reply via email to