lualatex / luaotfload

OpenType font loader for LuaTeX
Other
26 stars 8 forks source link

Behavior change with ligatures in 2.5 #243

Closed jeremy-engel closed 10 years ago

jeremy-engel commented 10 years ago

The following MWE produces ff in 2.4 but produces the ligature in 2.5.3. I believe this is from a change in luaotfload since I tried the current version and 2.4 with the same version of fontspec to get these results.

\documentclass{article}

\usepackage{fontspec}

\setmainfont[Ligatures={NoCommon}]{texgyretermes}

\begin{document}

ff

\end{document}
phi-gamma commented 10 years ago

Ack. If you disable the liga feature it gets overridden. Test file: https://bitbucket.org/phg/lua-la-tex-tests/src/c7c97a8caf69b99940d20ad7fb91ecdfb5a56a22/pln-features-11-liga.tex

It’s something to do with how the default set is applied.

phi-gamma commented 10 years ago

Fixed, release pending.