3

I am seeing some very strange behavior with LuaLaTeX. It is hard to describe, so I will begin with a MWE:

\documentclass{book}

\usepackage{fontspec}
%\defaultfontfeatures{Ligatures={Common, TeX}}
\setmainfont{Adobe Garamond Pro}
%\setmainfont{Adobe Caslon Pro} % also fails

\begin{document}

\noindent
\textit{fianc\'ee} \\ % correct
{\itshape fianc\'ee}  % correct

\newpage

\noindent
\textit{fianc\'ee} \\ % wrong
{\itshape fianc\'ee}  % wrong

\newpage

\noindent
\textit{fianc\'ee} \\ % wrong
{\itshape fianc\'ee}  % wrong

\end{document}

This is the rendering of page 1:

Page one

And page 2:

Page two

In the above, the fi ligature is correctly used on the first page, while on the 2nd and 3rd pages I get the two characters. I have tested it for both Garamond and Caslon. I do not get this error with xelatex.

BTW to complicate things this does not happen in the upright case :)

This is LuaTeX, Version beta-0.76.0-2014041116 (rev 4627)

closed as off-topic by Joseph Wright Sep 7 '14 at 6:34

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Welcome to TeX.SX! Strange indeed. Let's see if others are able to reproduce it; I don't have those Pro fonts, sorry. – egreg Apr 22 '14 at 20:46
  • 2
    I have Adobe’s Garamond Premiere Pro and cannot reproduce the problem. Which version of luatex do you use? – Thérèse Apr 22 '14 at 20:49
  • 1
    Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – Martin Schröder Apr 22 '14 at 21:04
  • 2
    A (negative) data point: I am unable to replicate the problem you report when I run your MWE on my system (MacOSX 10.9.2), using either the beta test version of TeXLive2014 (LuaTeX version: 0.79.1) or MacTeX2013 (LuaTeX version: 0.76.0), – Mico Apr 22 '14 at 21:57
  • 2
    Works for me too (0.76 from Mac Tex Live 2013). It could also be a problem with luaotfload – my version is 2013/12/28 v2.4. And just a wild guess: is there any difference if you load the font with Renderer=Basic (default being Full)? – Robert Apr 23 '14 at 0:03

Browse other questions tagged or ask your own question.