TeX - LaTeX Asked by Freddie Witherden on June 27, 2021
Consider the following MWE:
documentclass{article}
usepackage{fontspec}
begin{document}
fontspec: {fontspec{MinionPro-It} Qa He}
text swash: {fontspec[RawFeature=+cswh]{MinionPro-It} Qa He}
end{document}
which with xelatex produces the following:
However, with lualatex the two lines are identical. I suspect the issue is that the swash glyphs in Minion Pro are accessed contextually and lualatex is interpreting the substitution rules differently. To this end I am wondering how one can access the glyphs? Opening up the font in fontforge one can see there is a swash substitution table in gsub
although as it does not have a standard name it does not appear to be accessible via fontspec.
Edit
I found a copy of TexLive 2019 on this machine. Running this through it works perfectly with both lualatex
and xelatex
. I am therefore reasonably confident that there has been a regression in behavior between TL2019 and TL2021.
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP