Skip to content
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

Problem with luatex 1.10.1 and fontspec #364

Closed
2 tasks done
hvoss49 opened this issue May 2, 2019 · 4 comments
Closed
2 tasks done

Problem with luatex 1.10.1 and fontspec #364

hvoss49 opened this issue May 2, 2019 · 4 comments

Comments

@hvoss49
Copy link

hvoss49 commented May 2, 2019

Description

Problem with fontspec and new luatex 1.10.1

Check/indicate

  • Relevant for LuaTeX
  • Issue tracker has been searched for similar issues?

Minimal example demonstrating the issue

\documentclass{article}
\usepackage{fontspec}
\setmainfont{LibertinusSerif-Regular.otf}
\begin{document}
foo \textsc{Foomatik}
\end{document}

The above worls well with luatex 1.10.0, but not with luatex 1.10.1. There are no Small Caps. Without fontspec and using \input luaotfload.sty and luatex it is fine.

@wspr
Copy link
Collaborator

wspr commented May 3, 2019

Thanks Herbert. I wonder if this is a luaotfload issue; could you try the following minimal example?

\documentclass{article}
\begin{document}
\font\2="[texgyrepagella-regular.otf]:+smcp"
\2 foo

\directlua{
x = luaotfload.aux.provides_feature(font.id("2"), "LATN", "dflt", "smcp")
if x then
  tex.print("has small caps")
else
  tex.print("no small caps")
end
}
\end{document}

I don't have luatex 1.10.1 yet — for me this prints "foo\par has small caps" in Pagella small caps.

@hvoss49
Copy link
Author

hvoss49 commented May 3, 2019 via email

@khaledhosny
Copy link
Contributor

That is a bug in LuaTeX 1.10.1, see https://tug.org/pipermail/luatex/2019-May/007133.html

@wspr
Copy link
Collaborator

wspr commented May 7, 2019

Thanks @khaledhosny , much appreciated.

@wspr wspr closed this as completed May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants