I am having a problem with kerning while using LuaLaTeX. In my example, the pair “AT” does not render well. This is clear by comparing LuaLaTeX output with XeLaTeX's, which from the same code renders the pair correctly. In this image, LuaLaTeX output is on the left:
With small caps the problem seems to appear only when I put them inside an \mbox
, as shown in the last line of my example. (Could this be related to hyphenation, perhaps? Words protected from hyphenation are rendered with good kerning.)
I have been trying to pinpoint the source of the problem, but I am clueless. (I am new to LaTeX.)
My system is equipped with TeX Live 2011, just installed with as few packages as I could.
The code used:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Minion Pro}
\begin{document}
\mbox{}\newline
\huge FOUNDATIONS\newline
\huge \textsc{foundations}\newline
\huge \textsc{\mbox{foundations}}
\end{document}
luaotfload
. If I selectbase
, the kerning problem gets extended to the second line (with the first one then rendering right). However, explicitly settingnode
mode (even though it is used by default) does not solve the problem. It appears as if the processing mode were being changed for whatever reason at different points in the document.