luaotfload-harf-plug.lua:408: bad argument #1 to 'char' (value out of range)
Ulrike Fischer
news3 at nililand.de
Wed Oct 28 09:52:13 CET 2020
Am Tue, 27 Oct 2020 20:37:25 -0300 schrieb Phelype Oleinik:
>> Here is a small example that triggers the error.
>> Looks like it does not like \paragraph in front of align*
>
> Here's a smaller one:
> It seems to boil down to this recipe:
> - load polyglossia
> - load fontspec
> - \setmainfont
> - \setbox with \textsc (also depends what is in \textsc)
> - \unhbox
> - BOOM!
>
> Simply moving polyglossia after \setmainfont seems to work (no idea how
> well though).
polyglossia sets the luatex renderer to harfbuzz by default. So this
fails too:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{TeX Gyre Pagella}[Renderer=Harfbuzz]
\begin{document}
\setbox0\hbox{\textsc{Vertical}}%
\unhbox0\par
\end{document}
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
More information about the tex-live
mailing list.