# Disabling specific ligatures fontspec

I made changes to something in an (English language) .tex file and discovered all my ss now exported as ß. After some debugging in my version control, there was no clear culprit to undo (maybe a font changed?), so I have turned to patching the problem over.

I'm consulting:

I'm using the following, NoCommon, to disable ligatures:

``````\defaultfontfeatures{Scale=MatchLowercase,
Ligatures={NoCommon}}
``````

Can I be more targeted than disabling all ligatures? Is it possible to disable /only/ the ss ligature when using fontspec with xelatex?

• Please clarify what you mean by "all my ss [are] now exported as ß". Do you mean to say that "ss" gets typeset as ß"? (The verb "export" has many potential meanings...) Incidentally, are your free to switch from XeLaTeX to LuaLaTeX? If so, you might want to take a look at the selnolig package. – Mico Apr 17 '19 at 6:43
• does that work? I would expect that `NoCommon` disables `ffi` ligatures but I wouldn't have expected `ss->ß` to be in the Common ligature set? – David Carlisle Apr 17 '19 at 6:45
• Weird, right? My PDF rendered acceß, neceßary, etc., just from having contiguous s in text. Changing to this did actually fix it, but I wonder if I'm missing out on other potentially nice ligatures. It seems like oe stays, fwiw. – Mittenchops Apr 17 '19 at 7:02
• What font is that? Even for a german text this wouldn't be a suitable behaviour. – Ulrike Fischer Apr 17 '19 at 8:01