-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No small caps with \setmainfont{Latin Modern Roman}
#449
Comments
Well perhaps, but how a font implements a feature (and which one) is not an fontspec issue. |
Having the same issue here with TexLive 2021 and LuaTeX, regardless of the small caps feature provided by the chosen OTF. Seems to be a fontspec bug. Edit: Log of example 3:
|
@u-fischer Sorry, I was not sure where to report this. Should I report to the maintainers of @interkosmos I guess Ulrike is right, since the problem does not arise with e.g. Erewhon: \documentclass{article}
\usepackage{fontspec}
\setmainfont{erewhon}
\begin{document}
\textsc{Small capitals}.
\end{document} |
@dbitouze Specifically, I’m having the issue with the Minion Pro OTF font. Small caps are a style of the OTF font but not recognised by fontspec:
In contrast, fontspec:
|
@interkosmos Indeed, sorry. In contrast, small caps aren't a style of the OTF Latin Modern Roman font: otfinfo -f /usr/local/texlive/2021/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf
aalt Access All Alternates
cpsp Capital Spacing
dlig Discretionary Ligatures
frac Fractions
kern Kerning
liga Standard Ligatures
lnum Lining Figures
onum Oldstyle Figures
pnum Proportional Figures
size Optical Size
tnum Tabular Figures
zero Slashed Zero so your issue (which seems to be a |
@dbitouze: Right, thank you for the feedback. |
Description
A sentence or two describing the issue.
Check/indicate
Minimal examples demonstrating the issue
Minimal example 1
Minimal example 2
Minimal example 3
Minimal example 4
Further details
Minimal examples 1 (compiled with
lualatex
) and 2 (compiled withpdflatex
andlualatex
) provide small caps. By contrast, minimal example 3 (compiled withlualatex
) doesn't provide small caps:Okay, small caps can be obtained with the code in minimal example 4, but shouldn't they be included in the basic font and obtained by the
smcp
font feature?The text was updated successfully, but these errors were encountered: