-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Description
Description
LuaHBTeX, Version 1.18.0 compiles the following file as expected with fontspec 2.9a but version 2.9b fails with this error message:
Font \TU/MyLato(0)/m/n/10=[Lato-Regular.otf]:mode=node;script=latn;language=dflt;+tlig; at 10pt not loadable: metric data not found or bad.
Only small caps show up in the output, the regular text is "printed" in nullfont.
Check/indicate
- Relevant for LuaTeX
- Issue tracker has been searched for similar issues?
- https://tex.stackexchange.com/questions/717130/fontspec-2-9b-issue
Minimal example demonstrating the issue](url)
\documentclass{article}
\usepackage{fontspec}
\begin{filecontents}[overwrite]{MyLato.fontspec}
\defaultfontfeatures[MyLato]
{
UprightFont = Lato-Regular.ttf ,
UprightFeatures = {SmallCapsFont={FiraSans-Regular.otf}} ,
SmallCapsFeatures = {Letters=SmallCaps} ,
}
\end{filecontents}
\setmainfont{MyLato}
\begin{document}
Some text \textsc{and SmallCaps}.
\end{document}
Further details
Both fonts Lato-Regular.ttf and FiraSans-Regular.otf are available in TL2024, no Lato-Regular.otf on my system.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels