[NTG-context] Advanced ligatures

Jan Tosovsky j.tosovsky at email.cz
Tue Apr 29 16:21:38 CEST 2014


Dear All,

is there any way to switch the hlig or dlig features on? The corresponding
glyphs are present in the font, but somehow ignored...

\definefontfamily[palation][rm][Palatino Linotype]
\definefontfeature[f:historical_ligatures][hlig=yes]
\definefontfeature[f:discretionary_ligatures][dlig=yes]

% custom shortcuts
\define[1]\hlig{\feature[+][f:historical_ligatures]#1}
\define[1]\dlig{\feature[+][f:discretionary_ligatures]#1}

\starttext
\setupbodyfont[palatino]
ff fi fl\par
{\hlig {ct sp st}}\par
{\dlig {Qu}}\par
\stoptext

Thanks, Jan

Context 2014.04.17. 
LuaTeX 0.79.1



More information about the ntg-context mailing list