0

Compiling this example that uses EB Garamond font

\documentclass{article}
\RequirePackage{fontspec}
\setmainfont[Ligatures=TeX]{TeX Gyre Pagella}

\begin{document}
\fontspec{EB Garamond}[Ligatures=Historic,Scale=2]
Questo altere uniffatto fiato.
\end{document}

with XeLaTeX and LuaLaTeX gives two different results: the Q is shown with a long "swash" only in the PDF produced by XeLaTeX. Why?

enter image description here

Mico
  • 506,678
PhilipPirrip
  • 1,443
  • 2
    In luatex, you need to specify Contextuals=Alternate. See https://tex.stackexchange.com/a/133385 – Thérèse Oct 28 '16 at 17:07
  • Thank you, Thérèse. Looks like we have a duplicate here. My MWE is a bit cleaner, though. – PhilipPirrip Oct 28 '16 at 17:24
  • I've taken the liberty of editing the title and body of your posting; technically, the font feature that's the subject of this posting isn't a ligature but a "swash". – Mico Oct 28 '16 at 17:31
  • Even cleaner if you get rid of \setmainfont[Ligatures=TeX]{TeX Gyre Pagella} and substitute \setmainfont{EB Garamond}. Or use the \newfontface or newfontfamily commands, which are more efficient than the \fontspec command. (There’s a question about that somewhere on the site.) – Thérèse Oct 28 '16 at 17:34
  • XeLaTeX or LuaLaTeX! This is the problem! – Omid Ghayour Oct 31 '16 at 19:29

0 Answers0