You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PL4 was introduced to correct \DeclareFontShape declarations that incorrectly used something like mc when it should be c, according to the NFSS rules. Unfortunately the approach to drop a surplus "m" from the series unconditionally was a bit too overambitious because some .fd files (in particular those made with autoinst) first set up font shapes using long font names in the series, e.g. regular or semibold and then map the NFSS names onto the long names, eg.
Now when dropping one m from the series that results in the first one being equivalent to semibold and so the second misses its mark.
Minimal example showing the bug
\RequirePackage{latexbug} % <--should be always the first line (see CONTRIBUTING)!\documentclass{article}
\begin{document}
\fontfamily{EBGaramond-OsF}\fontseries{semibold}\selectfont Test
\fontseries{sb}\selectfont Test
\end{document}
Brief outline of the bug
PL4 was introduced to correct
\DeclareFontShape
declarations that incorrectly used something likemc
when it should bec
, according to the NFSS rules. Unfortunately the approach to drop a surplus "m" from the series unconditionally was a bit too overambitious because some.fd
files (in particular those made withautoinst
) first set up font shapes using long font names in the series, e.g. regular or semibold and then map the NFSS names onto the long names, eg.Now when dropping one
m
from the series that results in the first one being equivalent to semibold and so the second misses its mark.Minimal example showing the bug
Log file
PL4-issue2.log
The text was updated successfully, but these errors were encountered: