Consider the following example set in Warnock Pro with lualatex:
\documentclass{book}
\usepackage{polyglossia}
\setmainlanguage{russian}
\setmainfont{Warnock Pro}
\pagestyle{empty}
\begin{document}
lualatex:
\addfontfeature{LetterSpace=30}
активный словарь русского языка
АКТИВНЫЙ СЛОВАРЬ РУССКОГО ЯЗЫКА
\end{document}
Capitals are not spaced properly (see the screenshot). Without \setmainlanguage{russian}
or when typeset with xelatex, they are. Is it a problem of the font itself or some bug?
Update: [Renderer=Node]
solves the problem, kudos to Javier Bezos
babel
and it worked as expected. So the problem is the renderer — by defaultNode
withbabel
butHarfbuzz
withpolyglossia
. If you are using LGR scripts,Node
is usually a better option, so use\setmainfont[Renderer=Node]{Warnock Pro}
.Harfbuzz
renderer and (depending on the font) many hyphenation points are dropped (and this is the very reasonbabel
sticks to the default renderer, ie,Node
). For further info see github.com/latex3/luaotfload/wiki/Comparing-the-modes.