Open ulilaube opened 3 years ago
Please provide a minimal LaTeX source file producing the error, otherwise we can't reproduce it.
If possible, it would also be particularly helpful if you can reproduce the issue without Minion Pro.
It boils down to
\documentclass{minimal}
\usepackage{fontspec}
\setmonofont{Pragmata Pro Mono Liga}
\begin{document}
\texttt{!=}
\texttt{==}
\end{document}
Each \texttt{} is producing one of the errors.
The font Pragmata Pro contains extra glyphs for programming symbols. In this case a monospaced ==
could be replaced with a single glyph that looks like ==
but with less spacing.
!=
can be replaced by tighter version of !=
and monospaced things like =>
can be replaced with proper arrow looking glyph.
Today I updated via via tlmgr to revision 62239 of the luaotfload package.
$ luaotfload-tool --version
luaotfload-tool:
Luaotfload font management and diagnostic utility.
License: GNU GPL v2.0.
Report problems to <https://github.com/latex3/luaotfload/issues>
luaotfload-tool version: "3.20"
Revision: nil
Lua interpreter: stock; version "Lua 5.3"
Luatex version: 1.13
Platform: type=unix name=linux
+ machine: x86_64
+ nodename: thinkpad
+ release: 5.16.11-1-default
+ sysname: Linux
+ version: #1 SMP PREEMPT Thu Feb 24 05:07:05 UTC 2022 (90630c5)
Index: version=6 created="2022-02-28 08:12:44" modified="2022-02-28 08:12:44"
The problem remains as described above.
As a workaround you could try adding [Renderer=HarfBuzz]
after \setmonofont
to use the HarfBuzz based renderer instead. But since I don't have the font I don't know what causes the underlying issue.
I have finally found the time to test the workaround. Adding [Renderer=HarfBuzz]
helps for the MWE and the original document from the original post. Is there more information on the different renderer / shaper combinations besides what is available in texdoc fontspec
?
Hi!
I switched to TeXLive 2021 recently and recompiled last years version of a document with lualatex. Now I have the following errors at the beginning of the document
with
and
If I go back to
and run it with
the errors go away. If I go back 57443 -> 59293 via
The error comes back again. Throwing away the font name database and caches under
/home/xxx/.texlive2021/texmf-var/luatex-cache/generic/names/luaotfload-names.lua.gz /home/xxx/.texlive2021/texmf-var/luatex-cache/generic/names/luaotfload-names.luc /home/xxx/.texlive2021/texmf-var/luatex-cache/generic/fonts/
and regenerating them makes no difference.
Cheers Uli