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

\setmathfontface does not respects Style key in lulatex #621

Open
borisveytsman opened this issue Sep 7, 2023 · 2 comments
Open

\setmathfontface does not respects Style key in lulatex #621

borisveytsman opened this issue Sep 7, 2023 · 2 comments

Comments

@borisveytsman
Copy link

borisveytsman commented Sep 7, 2023

Description

\setmathfontface does not recognize Style= key in font options if luatex engine is used

Add info or delete as appropriate:

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

Minimal example demonstrating the issue

\documentclass{article}
\usepackage{unicode-math}
\setmathfontface\symbsw{Arsenal-Regular.otf}[Style=Swash]
\begin{document}
$\symbsw{ABCD}$
\end{document}

Further details

This example defines a swash alphabet in XeLaTeX, but LuaLaTeX drops the swashes. Rawfeatures=swsh has the same effect

@khaledhosny
Copy link
Contributor

\setmathfontface does not seem to set mode=base which is required in LuaTeX for fonts used in Math mode.

@khaledhosny
Copy link
Contributor

The corresponding fontspec/unicode-math font option would be Renderer=Basic.

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

2 participants