Closed callegar closed 4 years ago
This should now be fixed with an updated fontspec (v2.7h) — could you please check?
Unfortunately, not. The other way round, I now see the warnings also with regular lualatex
, not just with lualatex-dev
. I think that this is because the LaTeX format has now been updated to what was its pre-release at the time of submitting the bug.
Can you provide a document that uses a font in TeX Live? Preferably more minimal than the example above?
Apologies, I just re-ran in LuaLaTeX instead of XeLaTeX and I see the font is indeed available in TeX Live.
Here's a truly minimal example:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{STEP}
{\bfseries}
\begin{document}
hello \emph{hello} \textbf{hello}
\end{document}
Sorry, I can't spend more time on this tonight...
Thanks for minimalizing my example. I had tried playing with \bfseries
, but at the beginning I did not notice that it had to be placed before the \begin{document}
to see the issue!!!
@wspr It is the already discussed problem. One way to resolve it would be if fontspec defines both b and bx:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{STEP}
\DeclareFontShape{TU}{\familydefault}{bx}{n}{<-> ssub*\familydefault/b/n}{}
{\bfseries}
\begin{document}
hello \emph{hello} \textbf{hello}
\end{document}
@u-fischer — the working
branch now has a fix for this (see above). Do you think I should push this out straight away?
Description
Trying lualatex-dev on TeXlive, that is luahbtex 1.11.2 with the pre-release latex format, that is LaTeX2e <2020-02-01> pre-release-3 (develop 2020-1-27 branch), I am getting a lot of font warnings, all of them related to
bx
series, on documents that compile with no warning with the regular lualatex 1.10.0 with the latex format <2019-10-01> patch level 3.Specifically I see lots of entries like
The issue seems to be triggered by the instancing of all the font series to modify the spacing as
IEEEtran.cls
does.Check/indicate
Minimal example demonstrating the issue
The example below uses the
article
class, incorporating the font spacing logic fromIEEEtran
Further details
I would like to find out whether this is an issue with the new font management logic or an expected behavior, to know how
IEEEtran.cls
will need to be patched to make it compatible with future lualatex.