The following MWE is producing different outputs on XeLaTeX and LuaLateX:



ffi ew

XeLaTex output

LuaLaTex output

Is this the intended outcome?

The font I chose for testing came from http://www.glukfonts.pl/font.php?l=de&font=FoglihtenNo04.

  • 2
    It seems that in XeTeX the stylistic set 1 is selected by default. If I set the font feature ss01 in LuaTeX I get the same result as you with XeTeX.
    – Marco
    Sep 19, 2012 at 11:01
  • You are right, but how could I deactivate ss01 with XeLaTeX? And is this the intended behavior of fontspec/XeLaTex?
    – someonr
    Sep 19, 2012 at 12:30
  • 4
    I use neither XeTeX, nor fontspec. But according to Controlling fontspec… you could try \fontspec[RawFeature={-ss01}]{FoglihtenNo04-070.otf}. The question is why this is feature set by default. As a user I would not expect this. I don't know enough about OpenType to tell you if the font designer can set particular features as default. But even then, there is still the question why LuaTeX and XeTeX differ.
    – Marco
    Sep 19, 2012 at 12:38

1 Answer 1


XeLaTeX renders it correctly. The "w" in "ew" comes from Contextual Alternates [calt], a feature that is turned on by default in XeLateX (XeTeX). The Stylistic Set 01 [ss01] feature can be turned ON (for every "w" in text), but it is not the default.

It seems that LuaLaTeX works only with Standard Ligatures [liga] as default, but not with Contextual Alternates [calt].

  • Welcome to TeX.SX! I've taken the liberty of editing your message for better clarity. You may consider to register in order to give more contributions to the site.
    – egreg
    Sep 19, 2012 at 15:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .