[luatex] luatex and EB Garamond Ligatures
luigi scarso
luigi.scarso at gmail.com
Tue Nov 4 00:12:43 CET 2014
On Mon, Nov 3, 2014 at 11:22 PM, Akira Kakuto <kakuto at fuk.kindai.ac.jp>
wrote:
> Dear Jan Klever,
>
> Interesting. For 'palt' and 'kern', ConTeXt is better than
> luaotfload, while for 'liga' luaotfload is better than ConTeXt.
>
> \definefontfeature [LigYes][liga=yes]
> \definefont[ebgaramondregular][name:ebgaramond12-regular*LigYes at 12pt]
> \definefont[ebgaramonditalic][name:ebgaramond12-italic*LigYes at 12pt]
>
> \starttext
> \ebgaramondregular
> fi, ff, ffi
>
> \ebgaramonditalic
> fi, ff, ffi
>
> \stoptext
>
>
> Thanks,
> Akira
>
\definefontfeature [LigYes][default][liga=yes]
\definefont[ebgaramondregular][name:ebgaramond12-regular*LigYes at 12pt]
\definefont[ebgaramonditalic][name:ebgaramond12-italic*LigYes at 12pt]
\starttext
\ebgaramondregular
fi, ff, ffi
\ebgaramonditalic
fi, ff, ffi
\stoptext
or
\definefont[ebgaramondregular][name:ebgaramond12-regular*default at 12pt]
\definefont[ebgaramonditalic][name:ebgaramond12-italic*default at 12pt]
\starttext
\ebgaramondregular
fi, ff, ffi
\ebgaramonditalic
fi, ff, ffi
\stoptext
or
\definefontfamily [garamond] [rm] [ebgaramond]
\setupbodyfont[garamond]
\starttext
fi, ff, ffi
\it fi, ff, ffi
\stoptext
All have the ligatures as expected.
--
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20141104/de6edc86/attachment-0001.html>
More information about the luatex
mailing list