[luatex] ligatures with luaotfload

Khaled Hosny khaledhosny at eglug.org
Sat Oct 8 20:14:09 CEST 2011


On Sat, Oct 08, 2011 at 07:42:29PM +0200, Khaled Hosny wrote:
> On Sat, Oct 08, 2011 at 06:55:01PM +0200, Javier Múgica de Rivera wrote:
> > 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?
> 
> I don't know what version of luaotfload you are using, but in some old
> versions you had to explicitly enable each feature you want.

Checking the code, if you don't select a script no feature will be
enabled by default.

Regards,
 Khaled

-- 
 Khaled Hosny
 Egyptian
 Arab


More information about the luatex mailing list