Open ArchangeGabriel opened 5 years ago
This should be due to that the map partialriff -> partialdiff.x.ss is not set correctly. I will fix this after finishing current fix on spacings.
This should have been fixed now.
update: Seems with LuaTeX this is not working... There is still somethings to to.
ss06 and ss10 also does not work on LuaTeX. Seems that all combination of look-ups is not working.
Hi @YuanshengZhao, Thank you for your excellent work! I am using XeLaTeX and it seems that ss10 for Garamond-Math does not work with it, too.
@ndandanov Could you please tell me the version you are using and provide a minimum example? The current version (both on GitHub & ctan) does not produce error with XeTeX (though still has some problems with LuaTeX):
\documentclass{article}
\usepackage[math-style=ISO, bold-style=ISO]{unicode-math}
\setmathfont{Garamond-Math.otf}[Path=./,StylisticSet={10}]
\begin{document}
\[h_{h_h}\hbar_{\hbar_\hbar}\]
\end{document}
@YuanshengZhao, Sorry for the confusion, this turned out to be a misconfiguration on my end. I had the following in my preamble:
\RequirePackage{mathspec}
\setmathsfont(Digits,Latin,Greek)[Numbers={Proportional}]{EB Garamond}
After removing this, the stylistic set works as expected. I could not find any significant difference between XeTeX and LuaTeX. Thank you for the beautiful font and for the support!
In LuaTeX the following are not working:
hbar
with horizontal bar (ss06).The reason might be that in LuaTeX all nesting of glyph substitutions are ignored, and I have no idea how to make this work currently.
The above case is for script: h -> h.out_bending -> h.out_bending.ssty (a slightly thicker glyph for script)
or h -> h.ssty -> h.out_bending.ssty
. And similar situation for the latter.
MNWE:
Output: test.pdf